sdext/qa/unit/pdfimport.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 7db48ca86b9ab88d07430bccfdb50a22597ab5ce
Author: Caolán McNamara <[email protected]>
AuthorDate: Fri Dec 20 15:17:01 2024 +0000
Commit: Caolán McNamara <[email protected]>
CommitDate: Fri Dec 20 18:35:55 2024 +0100
fix --disable-poppler build with clang plugins enabled
Change-Id: Ibc133de32a8c4343c5d941f78933cb8bae24f434
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178937
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
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
{