diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-03-27 10:12:16 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-04-03 17:54:00 +0200 |
commit | 81ac2da0d0325fc74fafd09bc4f3c85a75fab352 (patch) | |
tree | a8b4167f139d6d8cd995724563de3ea365b59132 /vcl | |
parent | 215b8c1ca4cb6587c8e48b71d474cee3b8d3fe9e (diff) |
Fix linking error in the !HAVE_FEATURE_PDFIUM case
Change-Id: I74e290ce1af4b85f6495acef4ecc9a276b6df40a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |