diff --git a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index 4716ea7cbb41..ee96a55573c8 100644 --- a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -51,16 +51,13 @@ #include #include -#if !defined _WIN32 #include static std::ostream& operator<<(std::ostream& rStream, const std::set& rSet); -#endif #include using namespace ::com::sun::star; -#if !defined _WIN32 static std::ostream& operator<<(std::ostream& rStream, const std::set& rSet) { rStream << "{ "; @@ -73,7 +70,6 @@ static std::ostream& operator<<(std::ostream& rStream, const std::set& rStream << " }"; return rStream; } -#endif namespace { @@ -5239,8 +5235,6 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf152246) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf155161) { -// TODO: We seem to get a fallback font on Windows -#ifndef _WIN32 vcl::filter::PDFDocument aDocument; loadFromFile(u"tdf155161.odt"); save(TestFilter::PDF_WRITER); @@ -5273,7 +5267,6 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf155161) // There must be two fonts std::set aExpected{ "Cantarell-Regular"_ostr, "Cantarell-Bold"_ostr }; CPPUNIT_ASSERT_EQUAL(aExpected, aFontNames); -#endif } CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf48707_1)