[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - vcl/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 27 08:25:53 UTC 2019


 vcl/source/gdi/impgraph.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit f961ebd3ea10313c409165f84ff0885fc2b09874
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Mar 27 10:12:16 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Mar 27 10:12:16 2019 +0200

    Fix linking error in the !HAVE_FEATURE_PDFIUM case
    
    Change-Id: I74e290ce1af4b85f6495acef4ecc9a276b6df40a

diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 87c2c233a732..30160c3fa79c 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -17,6 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <config_features.h>
+
 #include <sal/config.h>
 
 #include <comphelper/processfactory.hxx>
@@ -1622,6 +1624,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic )
                     }
                 }
             }
+#if HAVE_FEATURE_PDFIUM
             else if (nMagic == nPdfMagic)
             {
                 // Stream in PDF data.
@@ -1645,6 +1648,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic )
 
                 rImpGraphic.meType = GraphicType::Bitmap;
             }
+#endif
             else
             {
                 rIStm.SetError(nOrigError);


More information about the Libreoffice-commits mailing list