Kaydet (Commit) f961ebd3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix linking error in the !HAVE_FEATURE_PDFIUM case

Change-Id: I74e290ce1af4b85f6495acef4ecc9a276b6df40a
üst 5526b0c6
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <config_features.h>
#include <sal/config.h> #include <sal/config.h>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
...@@ -1622,6 +1624,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic ) ...@@ -1622,6 +1624,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic )
} }
} }
} }
#if HAVE_FEATURE_PDFIUM
else if (nMagic == nPdfMagic) else if (nMagic == nPdfMagic)
{ {
// Stream in PDF data. // Stream in PDF data.
...@@ -1645,6 +1648,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic ) ...@@ -1645,6 +1648,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic )
rImpGraphic.meType = GraphicType::Bitmap; rImpGraphic.meType = GraphicType::Bitmap;
} }
#endif
else else
{ {
rIStm.SetError(nOrigError); rIStm.SetError(nOrigError);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment