r24393 by jghali - #16427: Fix build failure with podofo 0.9.7

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 12 11:18:43 UTC 2021


Author: jghali
Date: Tue Jan 12 11:18:43 2021
New Revision: 24393

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24393
Log:
#16427: Fix build failure with podofo 0.9.7

Modified:
    branches/Version156/Scribus/scribus/pdf_analyzer.cpp

Modified: branches/Version156/Scribus/scribus/pdf_analyzer.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24393&path=/branches/Version156/Scribus/scribus/pdf_analyzer.cpp
==============================================================================
--- branches/Version156/Scribus/scribus/pdf_analyzer.cpp	(original)
+++ branches/Version156/Scribus/scribus/pdf_analyzer.cpp	Tue Jan 12 11:18:43 2021
@@ -139,7 +139,9 @@
 					{
 						pBase = cs->GetOwner()->GetObject(base.GetReference());
 					}
+#if (PODOFO_VERSION < PODOFO_MAKE_VERSION(0, 9, 7))
 					pBase->SetOwner(cs->GetOwner());
+#endif
 					return getCSType(pBase);
 				}
 				if (csTypeName == "Separation")
@@ -257,7 +259,7 @@
 						{
 							mt[i] = args[i].GetReal();
 						}
-						QMatrix transMatrix(mt[0], mt[1], mt[2], mt[3], mt[4], mt[5]);
+						QTransform transMatrix(mt[0], mt[1], mt[2], mt[3], mt[4], mt[5]);
 						currGS.ctm = transMatrix*currGS.ctm;
 					}
 					}




More information about the scribus-commit mailing list