r19686 by jghali - fix check for podofo version
scribus-commit
scribus-commit at lists.scribus.net
Sat Dec 27 01:54:53 UTC 2014
Author: jghali
Date: Sat Dec 27 01:54:53 2014
New Revision: 19686
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19686
Log:
fix check for podofo version
Modified:
branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp
Modified: branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19686&path=/branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp Sat Dec 27 01:54:53 2014
@@ -411,7 +411,7 @@
data = priv->GetIndirectKey(PoDoFo::PdfName(Key.toUtf8().data()));
PoDoFo::PdfStream const *stream = data->GetStream();
char *Buffer;
-#if (PODOFO_MAJOR == 0 && PODOFO_MINOR >= 8)
+#if (PODOFO_VERSION >= PODOFO_MAKE_VERSION(0, 8, 0))
PoDoFo::pdf_long bLen = 0;
#elif defined(pdf_long)
pdf_long bLen = 0;
@@ -432,7 +432,7 @@
break;
PoDoFo::PdfStream const *stream = data->GetStream();
char *Buffer;
-#if (PODOFO_MAJOR == 0 && PODOFO_MINOR >= 8)
+#if (PODOFO_VERSION >= PODOFO_MAKE_VERSION(0, 8, 0))
PoDoFo::pdf_long bLen = 0;
#elif defined(pdf_long)
pdf_long bLen = 0;
More information about the scribus-commit
mailing list