diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-10 09:29:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-10 09:29:28 +0200 |
commit | f9887ea014a492b062130547e15a931868edb046 (patch) | |
tree | 80a3f542805e45eaf66bec20a2696950a8470d4f /sw | |
parent | 2281a4922f2209511f79b961ca2140c112bc41eb (diff) |
loplugin:unreffun
Change-Id: Ibc1634886a85f4c7936ea175c754d31ea21eefe1
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 216965b58cdd..154560592a13 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(); |