summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/core/uwriter.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index d6fa423ddd3c..3d085e6a40ee 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -298,14 +298,8 @@ void SwDocTest::testModelToViewHelper()
OUString sViewText = aModelToViewHelper.getViewText();
CPPUNIT_ASSERT_EQUAL(OUString("AAAAA BBBBB CCCCC DDDDD"),
sViewText);
- // ??? is it a problem that we get the positions without
- // EXPANDFOOTNOTE when it's completely removed?
- CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2),
+ CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(0),
aModelToViewHelper.getFootnotePositions().size());
- CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(12),
- aModelToViewHelper.getFootnotePositions()[0]);
- CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(19),
- aModelToViewHelper.getFootnotePositions()[1]);
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(0),
aModelToViewHelper.getFieldPositions().size());
}