From 5e994d528c67e4db1e0ef7ba01349a51acbdacb3 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 24 Mar 2012 14:55:09 +0100 Subject: fdo#47036 fix RTF import of multi-paragraph exact height textboxes --- sw/qa/extras/rtftok/rtftok.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sw/qa/extras/rtftok/rtftok.cxx') diff --git a/sw/qa/extras/rtftok/rtftok.cxx b/sw/qa/extras/rtftok/rtftok.cxx index a47ca3618d7a..0628268b9267 100644 --- a/sw/qa/extras/rtftok/rtftok.cxx +++ b/sw/qa/extras/rtftok/rtftok.cxx @@ -418,6 +418,11 @@ void RtfModelTest::testFdo47036() } // The image at the document start was ignored. CPPUNIT_ASSERT_EQUAL(1, nAtCharacter); + + // There should be 2 textboxes, not 4 + uno::Reference xTextFramesSupplier(mxComponent, uno::UNO_QUERY); + uno::Reference xIndexAccess(xTextFramesSupplier->getTextFrames(), uno::UNO_QUERY); + CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xIndexAccess->getCount()); } CPPUNIT_TEST_SUITE_REGISTRATION(RtfModelTest); -- cgit ption> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/touch
AgeCommit message (Expand)Author
2014-10-31Bin dummy sourceTor Lillqvist
2014-02-26Use exact same license formatting in touch as elsewhereAlexander Wilms