[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann sbergman at redhat.com
Thu May 28 14:17:53 PDT 2015


 sw/qa/extras/globalfilter/globalfilter.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit e17fa49d99ce8de3fb9d026b515a7c7e1f00d269
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu May 28 23:17:18 2015 +0200

    loplugin:unreffun
    
    Change-Id: I89674148bd25f0ee996bf8796138bbab234d8c8f

diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index c7af47e..66dd3aa 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -33,7 +33,9 @@ public:
     void testCharHighlightBody();
     void testMSCharBackgroundEditing();
     void testCharBackgroundToHighlighting();
+#if !defined(WNT) && !defined(MACOSX)
     void testSkipImages();
+#endif
 
     CPPUNIT_TEST_SUITE(Test);
     CPPUNIT_TEST(testSwappedOutImageExport);
@@ -657,6 +659,7 @@ void Test::testCharBackgroundToHighlighting()
     }
 }
 
+#if !defined(WNT) && !defined(MACOSX)
 void Test::testSkipImages()
 {
     // Check how LO skips image loading (but not texts of textboxes and custom shapes)
@@ -732,7 +735,7 @@ void Test::testSkipImages()
         CPPUNIT_ASSERT_EQUAL_MESSAGE(sFailedMessage.getStr(), static_cast<sal_Int32>(bSkipImages ? 0 : 3), nImageCount );
     }
 }
-
+#endif
 
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 


More information about the Libreoffice-commits mailing list