summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2019-02-20 12:32:21 +0100
committerLászló Németh <nemeth@numbertext.org>2019-02-21 10:51:45 +0100
commit4d32ad37b86200fe207dd1eda2bed11109b08d00 (patch)
tree54ea5133e54caa9e54fa94bc82963743fab283eb /sw
parent30e7c7f2289cd59c36c00ba4defc52bf189ef77d (diff)
tdf#123434 FILEOPEN: RTF: missing content in cells
Revert "tdf#122424 RTF import: ignore table row text outside the cells" This reverts commit dc8fa612054363e1a871b0e413a59889fbdb156a. Change-Id: Id68dc7ae55df013de64fb2d4955a412e4c046781 Reviewed-on: https://gerrit.libreoffice.org/68086 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/rtfexport/data/tdf122424.rtf22
-rw-r--r--sw/qa/extras/rtfexport/rtfexport3.cxx10
2 files changed, 0 insertions, 32 deletions
diff --git a/sw/qa/extras/rtfexport/data/tdf122424.rtf b/sw/qa/extras/rtfexport/data/tdf122424.rtf
deleted file mode 100644
index 6baf526dd473..000000000000
--- a/sw/qa/extras/rtfexport/data/tdf122424.rtf
+++ /dev/null
@@ -1,22 +0,0 @@
-{\rtf1\adeflang1025\ansi\ansicpg1250\uc1\adeff0\deff0
-\colsx708
-\cellx885
-\cellx10260
-\pard cell1
-\cell
-\pard cell2
-\cell
-X\trowd
-\cellx885
-\cellx10260\row
-\trowd
-\cellx885
-\cellx5036
-\pard cell3
-\cell
-\pard cell4
-\cell
-\trowd
-\cellx885
-\cellx5036\row
-}
diff --git a/sw/qa/extras/rtfexport/rtfexport3.cxx b/sw/qa/extras/rtfexport/rtfexport3.cxx
index 6f7dec91570a..487a2530ea0c 100644
--- a/sw/qa/extras/rtfexport/rtfexport3.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport3.cxx
@@ -220,16 +220,6 @@ DECLARE_RTFEXPORT_TEST(testTdf66543, "tdf66543.rtf")
getProperty<sal_Int32>(getParagraph(1), "ParaLineNumberStartValue"));
}
-DECLARE_RTFEXPORT_TEST(testTdf122424_textOutsideCellInATableRow, "tdf122424.rtf")
-{
- uno::Reference<text::XTextTablesSupplier> xTextTablesSupplier(mxComponent, uno::UNO_QUERY);
- uno::Reference<container::XIndexAccess> xTables(xTextTablesSupplier->getTextTables(),
- uno::UNO_QUERY);
- uno::Reference<text::XTextTable> xTable(xTables->getByIndex(0), uno::UNO_QUERY);
- uno::Reference<text::XTextRange> xCell(xTable->getCellByName("A2"), uno::UNO_QUERY_THROW);
- CPPUNIT_ASSERT_EQUAL(OUString("cell3"), xCell->getString());
-}
-
DECLARE_RTFEXPORT_TEST(testUlw, "ulw.rtf")
{
// Test underlying in individual words mode.