diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-18 23:13:54 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-18 23:14:34 +0100 |
commit | e52c898aff6ce7c9d55c3a080f139a3ac2c6e99b (patch) | |
tree | f726f35fd893fd3a589dff3c490ee00703999942 /sw | |
parent | cbe8883b51c532a9891afda720647709d1741adc (diff) |
uwriter.cxx: try to make tinderboxes happier
Change-Id: I43d7cd5a6280f367e1105f1cdbd547d206f12b01
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index 7667f258b3d9..53d5fab120fa 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -251,7 +251,7 @@ void SwDocTest::testModelToViewHelper() nPos = aPaM.GetPoint()->nContent.GetIndex(); pTxtNode->InsertItem(aFtn, nPos, nPos); m_pDoc->InsertString(aPaM, rtl::OUString(" DDDDD")); - CPPUNIT_ASSERT_EQUAL(pTxtNode->GetTxt().getLength(), (4*5) + 5 + 2); + CPPUNIT_ASSERT(pTxtNode->GetTxt().getLength() == (4*5) + 5 + 2); //set start of selection to first B aPaM.GetPoint()->nContent.Assign(aPaM.GetCntntNode(), 6); |