summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-26 17:31:36 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-13 14:44:13 +0200
commitefaf2d6eb9342d83a9dc1fa93476ff3b61df6b0d (patch)
treee11b3437fa80dd987f8b11dba502365ef57296cc
parent427452557ed6852dcd0a3485ae9b7456bc316f0f (diff)
Avoid loplugin:unreffun
...after 272d5a02a3de2350f8af7a93281b651316b24ae5 "Revert 'tdf#108524 sw: attempt to split section frames inside table cells'" (cherry picked from commit 12ca907139c05ded23cb22aab2e03a52645adfa0) Conflicts: sw/qa/extras/uiwriter/uiwriter.cxx Change-Id: Ic1ec8cd3284e2ba98630552c80d99b5d67fc7efd
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 8d41d1ec21bd..d1e2cbd8ef2c 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -253,7 +253,9 @@ public:
void testTdf107976();
void testTdf113790();
void testParagraphOfTextRange();
+#if 0
void testTdf108524();
+#endif
void testTableInSection();
CPPUNIT_TEST_SUITE(SwUiWriterTest);
@@ -395,7 +397,9 @@ public:
CPPUNIT_TEST(testTdf107976);
CPPUNIT_TEST(testTdf113790);
CPPUNIT_TEST(testParagraphOfTextRange);
-// CPPUNIT_TEST(testTdf108524);
+#if 0
+ CPPUNIT_TEST(testTdf108524);
+#endif
CPPUNIT_TEST(testTableInSection);
CPPUNIT_TEST_SUITE_END();
@@ -5050,6 +5054,7 @@ void SwUiWriterTest::testParagraphOfTextRange()
CPPUNIT_ASSERT_EQUAL(OUString("In section"), xParagraph->getString());
}
+#if 0
void SwUiWriterTest::testTdf108524()
{
createDoc("tdf108524.odt");
@@ -5062,6 +5067,7 @@ void SwUiWriterTest::testTdf108524()
// and it was cut off.
assertXPath(pXmlDoc, "/root/page[2]/body/tab/row/cell/section", 1);
}
+#endif
void SwUiWriterTest::testTableInSection()
{