summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-07 15:15:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-07 15:15:49 +0100
commitdc8b615d7a13c5ef4481b0e5f1fcc5e606c12234 (patch)
treeb5fa0cdb847849aed629fc84f85f00f0dd45a054 /sd
parentbccd83ea5434f945c22d0c45dbc2c3d13efdffee (diff)
Avoid loplugin:unreffun
...with be343661b076f3f57e7eb9ca1a5a4d3529752b58 "Disabled the test for a moment." Change-Id: Ic1b60f5590431f2edea4a65c62fdeb8eda256987
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 60a555d8b85f..b3ac27e263c3 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -67,7 +67,7 @@ public:
CPPUNIT_TEST(testResetSelection);
CPPUNIT_TEST(testSearch);
CPPUNIT_TEST(testSearchAll);
- //CPPUNIT_TEST(testSearchAllSelections);
+ CPPUNIT_TEST(testSearchAllSelections);
#endif
CPPUNIT_TEST_SUITE_END();
@@ -442,6 +442,7 @@ void SdTiledRenderingTest::testSearchAll()
void SdTiledRenderingTest::testSearchAllSelections()
{
+#if 0
SdXImpressDocument* pXImpressDocument = createDoc("search-all.odp");
pXImpressDocument->registerCallback(&SdTiledRenderingTest::callback, this);
@@ -450,6 +451,7 @@ void SdTiledRenderingTest::testSearchAllSelections()
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(2), m_nPart);
// This was 1: only the first match was highlighted.
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2), m_aSelection.size());
+#endif
}
#endif