mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-20 16:31:29 +00:00
merged 429295:430621
svn path=/branches/work/kde4/kdegraphics/kdvi/; revision=430639
This commit is contained in:
commit
ca181c3bc3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue