[Libreoffice-commits] .: sdext/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 31 04:10:35 PDT 2012


 sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit bf176d11892d6ebe949c3c73841800f3a0c8a0d6
Author: Petr Mladek <pmladek at suse.cz>
Date:   Wed Oct 31 12:07:17 2012 +0100

    fix build with system poppler-0.21.0
    
    UTF8.h is split and renamed to UTF.h
    
    Change-Id: I3c0c271324f79189aa2d10b9f159d2cb5743eb64

diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index e6bc761..77a9aa6 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -34,7 +34,11 @@
 #pragma warning(push, 1)
 #endif
 
+#if POPPLER_CHECK_VERSION(0, 21, 0)
+#include "UTF.h"
+#else
 #include "UTF8.h"
+#endif
 
 #if defined __SUNPRO_CC
 #pragma enable_warn


More information about the Libreoffice-commits mailing list