diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-04-08 15:32:20 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-04-08 15:47:51 +0200 |
commit | 36532778a6307f9ebaf0c777224e4de568c74450 (patch) | |
tree | d334bb4f5098e90e55797cc02b82fc683fff37cf /sw/qa | |
parent | 51c2cbf539427dcee27fb5fd2678f94e684b616f (diff) |
sw: initialize FieldResult::m_eType
Change-Id: Ia41ceb42b360a17021a30b5ed420d36759116255
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 8 |
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()); } |