merged 429295:430621

svn path=/branches/work/kde4/kdegraphics/kdvi/; revision=430639
This commit is contained in:
Thiago Macieira 2005-07-02 02:32:39 +00:00
commit ca181c3bc3

View file

@ -502,6 +502,8 @@ bool dviRenderer::setFile(const QString &fname)
// anchors in the document. So declare the existing lists empty.
anchorList.clear();
sourceHyperLinkAnchors.clear();
bookmarks.clear();
prebookmarks.clear();
if (dviFile->page_offset.isEmpty() == true) {
mutex.unlock();
@ -551,6 +553,7 @@ bool dviRenderer::setFile(const QString &fname)
// Generate the list of bookmarks
bookmarks.clear();
QPtrStack<Bookmark> stack;
stack.setAutoDelete (false);
QValueVector<PreBookmark>::iterator it;