diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-02-08 14:07:39 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-02-08 17:52:44 +0100 |
commit | 04fbef2cfd7ced957454c60f32d0f8e3c8c7827f (patch) | |
tree | e3ce192d6c53c6799c98eb111c8bf54356ec5a5f /sw | |
parent | 6a656eae1aad3f7692b70073707ac4932edbde8a (diff) |
Pull in rest of master fix for tdf#72942
This is the part of deaa16bd24fba4a3a6b072ab2b94542a7dbd41c6 that
touched sw/qa/extras/rtfexport/rtfexport2.cxx
Change-Id: If27eb46b0acc48dfb368775224a72a8bbe63d96b
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 2d1b1b4b32cb..ded9c987929a 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -1591,9 +1591,8 @@ DECLARE_RTFIMPORT_TEST(testFdo69384, "hello.rtf") uno::Reference<text::XTextRange> xEnd = xText->getEnd(); paste("fdo69384-paste.rtf", xEnd); - // Import got interrupted in the middle of style sheet table import, - // resulting in missing styles and text. - getStyles("ParagraphStyles")->getByName("Text body justified"); + // During insert of the RTF document we do not insert new styles + CPPUNIT_ASSERT(!getStyles("ParagraphStyles")->hasByName("Text body justified")); } DECLARE_RTFIMPORT_TEST(testFdo70221, "fdo70221.rtf") |