summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-20 15:17:01 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-20 18:35:55 +0100
commit7db48ca86b9ab88d07430bccfdb50a22597ab5ce (patch)
tree5ccaffdae05a63cafc9a843ed8459b716791e418
parentb0299c4141f80dfd9989f1f376a960a9590f7a07 (diff)
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 <caolan.mcnamara@collabora.com>
-rw-r--r--sdext/qa/unit/pdfimport.cxx2
1 files changed, 2 insertions, 0 deletions
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
{