summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-04-14 20:41:28 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-04-15 09:07:48 +0200
commit9e63e22c4d584e49577d08d3ecb94233be680bbf (patch)
treefe78bed20d82b6f731e74fd178dcd5dc61d7368a /vcl
parent209d07ff2de2716be2c3b0cbd61c16774205cb12 (diff)
vcl PDFiumLibraryTest: clean up not needed HAVE_FEATURE_PDFIUM ifdefs
This was already conditional in Module_vcl, so no need to have a duplicated check here. Which allows finally removing the HAVE_FEATURE_PDFIUM ifdef completely. New code can just call vcl::pdf::PDFiumLibrary::get() at runtime and see if the result is nullptr or not. Change-Id: I36508181865a31618e48cf7c2680d75465130dd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114108 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/PDFiumLibraryTest.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/qa/cppunit/PDFiumLibraryTest.cxx b/vcl/qa/cppunit/PDFiumLibraryTest.cxx
index 635bf6304f20..71ed79dd59e3 100644
--- a/vcl/qa/cppunit/PDFiumLibraryTest.cxx
+++ b/vcl/qa/cppunit/PDFiumLibraryTest.cxx
@@ -7,10 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <config_features.h>
-
-#if HAVE_FEATURE_PDFIUM
-
#include <string_view>
#include <cppunit/TestAssert.h>
@@ -406,6 +402,4 @@ CPPUNIT_TEST_SUITE_REGISTRATION(PDFiumLibraryTest);
CPPUNIT_PLUGIN_IMPLEMENT();
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */