Kaydet (Commit) 81ac2da0 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Jan Holesovsky

Fix linking error in the !HAVE_FEATURE_PDFIUM case

Change-Id: I74e290ce1af4b85f6495acef4ecc9a276b6df40a
üst 215b8c1c
......@@ -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);
......
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