r22366 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 3 22:57:42 UTC 2018
Author: jghali
Date: Sat Feb 3 22:57:42 2018
New Revision: 22366
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22366
Log:
#15127: Embedding PDF Bookmarks seems broken
Modified:
trunk/Scribus/scribus/pdflib_core.cpp
Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22366&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Sat Feb 3 22:57:42 2018
@@ -10945,9 +10945,10 @@
QMap<int,QByteArray> ::ConstIterator contentIt;
for (contentIt = Inha.begin(); contentIt != Inha.end(); ++contentIt)
{
- writer.startObj(ip->ItemNr+Basis);
+ int itemNr = contentIt.key();
+ writer.startObj(itemNr + Basis);
PutDoc(contentIt.value());
- writer.endObj(ip->ItemNr+Basis);
+ writer.endObj(itemNr + Basis);
}
}
}
More information about the scribus-commit
mailing list