[Libreoffice-commits] core.git: sw/qa
Michael Stahl
mstahl at redhat.com
Mon Feb 18 14:16:31 PST 2013
sw/qa/core/uwriter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e52c898aff6ce7c9d55c3a080f139a3ac2c6e99b
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Feb 18 23:13:54 2013 +0100
uwriter.cxx: try to make tinderboxes happier
Change-Id: I43d7cd5a6280f367e1105f1cdbd547d206f12b01
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index 7667f25..53d5fab 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);
More information about the Libreoffice-commits
mailing list