r24600 by jghali - Fix for building with poppler 21.04.0

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 4 21:41:57 UTC 2021


Author: jghali
Date: Sun Apr  4 21:41:56 2021
New Revision: 24600

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24600
Log:
Fix for building with poppler 21.04.0

Modified:
    branches/Version156/Scribus/scribus/plugins/import/pdf/slaoutput.h

Modified: branches/Version156/Scribus/scribus/plugins/import/pdf/slaoutput.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24600&path=/branches/Version156/Scribus/scribus/plugins/import/pdf/slaoutput.h
==============================================================================
--- branches/Version156/Scribus/scribus/plugins/import/pdf/slaoutput.h	(original)
+++ branches/Version156/Scribus/scribus/plugins/import/pdf/slaoutput.h	Sun Apr  4 21:41:56 2021
@@ -372,7 +372,11 @@
 	Catalog *catalog {nullptr};
 	SplashFontEngine *m_fontEngine {nullptr};
 	SplashFont *m_font {nullptr};
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 4, 0)
+	std::unique_ptr<FormPageWidgets> m_formWidgets;
+#else
 	FormPageWidgets *m_formWidgets {nullptr};
+#endif
 	QHash<QString, QList<int> > m_radioMap;
 	QHash<int, PageItem*> m_radioButtons;
 	int m_actPage;




More information about the scribus-commit mailing list