Kaydet (Commit) e17fa49d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unreffun

Change-Id: I89674148bd25f0ee996bf8796138bbab234d8c8f
üst 62031cd0
...@@ -33,7 +33,9 @@ public: ...@@ -33,7 +33,9 @@ public:
void testCharHighlightBody(); void testCharHighlightBody();
void testMSCharBackgroundEditing(); void testMSCharBackgroundEditing();
void testCharBackgroundToHighlighting(); void testCharBackgroundToHighlighting();
#if !defined(WNT) && !defined(MACOSX)
void testSkipImages(); void testSkipImages();
#endif
CPPUNIT_TEST_SUITE(Test); CPPUNIT_TEST_SUITE(Test);
CPPUNIT_TEST(testSwappedOutImageExport); CPPUNIT_TEST(testSwappedOutImageExport);
...@@ -657,6 +659,7 @@ void Test::testCharBackgroundToHighlighting() ...@@ -657,6 +659,7 @@ void Test::testCharBackgroundToHighlighting()
} }
} }
#if !defined(WNT) && !defined(MACOSX)
void Test::testSkipImages() void Test::testSkipImages()
{ {
// Check how LO skips image loading (but not texts of textboxes and custom shapes) // Check how LO skips image loading (but not texts of textboxes and custom shapes)
...@@ -732,7 +735,7 @@ void Test::testSkipImages() ...@@ -732,7 +735,7 @@ void Test::testSkipImages()
CPPUNIT_ASSERT_EQUAL_MESSAGE(sFailedMessage.getStr(), static_cast<sal_Int32>(bSkipImages ? 0 : 3), nImageCount ); CPPUNIT_ASSERT_EQUAL_MESSAGE(sFailedMessage.getStr(), static_cast<sal_Int32>(bSkipImages ? 0 : 3), nImageCount );
} }
} }
#endif
CPPUNIT_TEST_SUITE_REGISTRATION(Test); CPPUNIT_TEST_SUITE_REGISTRATION(Test);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment