From efaf2d6eb9342d83a9dc1fa93476ff3b61df6b0d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 26 Jun 2017 17:31:36 +0200 Subject: 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 --- sw/qa/extras/uiwriter/uiwriter.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() { -- cgit