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

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


Author: jghali
Date: Tue Jan 12 11:17:17 2021
New Revision: 24392

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

Modified:
    trunk/Scribus/scribus/pdf_analyzer.cpp

Modified: trunk/Scribus/scribus/pdf_analyzer.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24392&path=/trunk/Scribus/scribus/pdf_analyzer.cpp
==============================================================================
--- trunk/Scribus/scribus/pdf_analyzer.cpp	(original)
+++ trunk/Scribus/scribus/pdf_analyzer.cpp	Tue Jan 12 11:17:17 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")




More information about the scribus-commit mailing list