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

Stephan Bergmann sbergman at redhat.com
Wed Jun 10 00:30:05 PDT 2015


 sw/qa/extras/uiwriter/uiwriter.cxx |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit f9887ea014a492b062130547e15a931868edb046
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 10 09:29:28 2015 +0200

    loplugin:unreffun
    
    Change-Id: Ibc1634886a85f4c7936ea175c754d31ea21eefe1

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 216965b..1545605 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -96,7 +96,9 @@ public:
     void testTdf86639();
     void testTdf90883TableBoxGetCoordinates();
     void testEmbeddedDataSource();
+#if 0
     void testUnoCursorPointer();
+#endif
 
     CPPUNIT_TEST_SUITE(SwUiWriterTest);
     CPPUNIT_TEST(testReplaceForward);
@@ -135,7 +137,9 @@ public:
     CPPUNIT_TEST(testTdf86639);
     CPPUNIT_TEST(testTdf90883TableBoxGetCoordinates);
     CPPUNIT_TEST(testEmbeddedDataSource);
-    //CPPUNIT_TEST(testUnoCursorPointer);
+#if 0
+    CPPUNIT_TEST(testUnoCursorPointer);
+#endif
     CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -1026,6 +1030,7 @@ void SwUiWriterTest::testEmbeddedDataSource()
 #endif
 }
 
+#if 0
 void SwUiWriterTest::testUnoCursorPointer()
 {
     auto xDocComponent(loadFromDesktop(
@@ -1044,6 +1049,7 @@ void SwUiWriterTest::testUnoCursorPointer()
     xDocComponent->dispose();
     CPPUNIT_ASSERT(!static_cast<bool>(pCursor));
 }
+#endif
 
 CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest);
 CPPUNIT_PLUGIN_IMPLEMENT();


More information about the Libreoffice-commits mailing list