diff options
author | Tor Lillqvist <tml@iki.fi> | 2018-10-29 19:11:55 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-10-30 17:00:45 +0000 |
commit | fc4f673b21cfc71d925d585a8870f2df2f158b5f (patch) | |
tree | 31a677f270672c7700bc36fce083e538a35bf796 /svx | |
parent | 773e89a2750300138c1eff3e6a153edc902342b1 (diff) |
Add a HAVE_FEATURE_PDFIUM conditional
Change-Id: I7f4a34bb132141d867b028d40b100da674acaa91
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdedtv2.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 9a17a8062673..e5ab650a0935 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include <svx/svdedtv.hxx> #include <editeng/outliner.hxx> #include <svx/svdundo.hxx> @@ -2052,13 +2054,14 @@ void SdrEditView::DoImportMarkedMtf(SvdProgressInfo *pProgrInfo) } else if (pGraf->isEmbeddedPdfData()) { +#if HAVE_FEATURE_PDFIUM aLogicRect = pGraf->GetLogicRect(); ImpSdrPdfImport aFilter(*mpModel, pObj->GetLayer(), aLogicRect, pGraf->getEmbeddedPdfData()); if (pGraf->getEmbeddedPageNumber() < aFilter.GetPageCount()) { nInsAnz = aFilter.DoImport(*pOL, nInsPos, pGraf->getEmbeddedPageNumber(), pProgrInfo); } - +#endif // HAVE_FEATURE_PDFIUM } } |