Author: jghali
Date: Wed Mar 14 01:31:35 2018
New Revision: 22433

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22433
Log:
small refactoring

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: 
http://scribus.net/websvn/diff.php?repname=Scribus&rev=22433&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp       (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp       Wed Mar 14 01:31:35 2018
@@ -11059,9 +11059,9 @@
                QList<PdfDest>::Iterator vt;
                for (vt = NamedDest.begin(); vt != NamedDest.end(); ++vt)
                {
-                       if (PageTree.Kids.contains((*vt).PageNr))
-                               PutDoc(Pdf::toName((*vt).Name) + " [" + 
Pdf::toObjRef(PageTree.Kids[(*vt).PageNr])
-                                      + " /XYZ " + 
Pdf::toPdfDocEncoding((*vt).Act) + "]\n");
+                       if (PageTree.Kids.contains(vt->PageNr))
+                               PutDoc(Pdf::toName(vt->Name) + " [" + 
Pdf::toObjRef(PageTree.Kids[vt->PageNr])
+                                      + " /XYZ " + 
Pdf::toPdfDocEncoding(vt->Act) + "]\n");
                }
        }
        PutDoc(">>");


_______________________________________________
scribus-commit mailing list
scribus-commit@lists.scribus.net
http://lists.scribus.net/mailman/listinfo/scribus-commit

Reply via email to