summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-04-08 15:32:20 +0200
committerMichael Stahl <mstahl@redhat.com>2014-04-08 15:47:51 +0200
commit36532778a6307f9ebaf0c777224e4de568c74450 (patch)
treed334bb4f5098e90e55797cc02b82fc683fff37cf /sw/qa
parent51c2cbf539427dcee27fb5fd2678f94e684b616f (diff)
sw: initialize FieldResult::m_eType
Change-Id: Ia41ceb42b360a17021a30b5ed420d36759116255
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());
}