[Libreoffice-commits] core.git: vcl/qa
Caolán McNamara
caolanm at redhat.com
Mon Aug 21 06:57:14 UTC 2017
vcl/qa/cppunit/pdfexport/pdfexport.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8eb8e427d1e0757fe0add304cfdbe2d6aae4d9c9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Aug 18 16:26:34 2017 +0100
trivial WaE when pdfium is disabled
Change-Id: I43a5061c9549a0aff217407ebd3cc5baf68ac60d
Reviewed-on: https://gerrit.libreoffice.org/41334
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index 3ded9b210f8b..42f39c961dda 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -33,8 +33,6 @@ using namespace ::com::sun::star;
namespace
{
-const char* const DATA_DIRECTORY = "/vcl/qa/cppunit/pdfexport/data/";
-
/// Tests the PDF export filter.
class PdfExportTest : public test::BootstrapFixture, public unotest::MacrosTest
{
@@ -122,6 +120,8 @@ void PdfExportTest::tearDown()
#if HAVE_FEATURE_PDFIUM
+const char* const DATA_DIRECTORY = "/vcl/qa/cppunit/pdfexport/data/";
+
void PdfExportTest::load(const OUString& rFile, vcl::filter::PDFDocument& rDocument)
{
// Import the bugdoc and export as PDF.
More information about the Libreoffice-commits
mailing list