diff --git a/sdext/qa/unit/pdfimport.cxx b/sdext/qa/unit/pdfimport.cxx index 9c9c49f138a6..b029014d96d8 100644 --- a/sdext/qa/unit/pdfimport.cxx +++ b/sdext/qa/unit/pdfimport.cxx @@ -60,6 +60,7 @@ using namespace ::com::sun::star; namespace { +#if HAVE_FEATURE_POPPLER class TestSink : public ContentSink { public: @@ -462,6 +463,7 @@ namespace bool m_bDashedLineSeen; bool m_bImageSeen; }; +#endif class PDFITest : public test::BootstrapFixture, public XmlTestTools {