[Libreoffice-commits] core.git: sw/qa
Michael Stahl
mstahl at redhat.com
Tue Apr 8 03:47:06 PDT 2014
sw/qa/core/uwriter.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c65a70c4440a2e7c17f0c71a2875cc50f4f39fa9
Author: Michael Stahl <mstahl at redhat.com>
Date: Tue Apr 8 12:40:41 2014 +0200
another workaround for C++'s lack of proper overloading
Change-Id: I83f39c12a26e8acfe9a60d2ce9bd1b4b1b7c8c02
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index 3d5b010..d6fa423 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -410,7 +410,8 @@ void SwDocTest::testModelToViewHelper()
(*pFieldmark->GetParameters())[ODF_FORMDROPDOWN_RESULT] = uno::makeAny(sal_Int32(0));
m_pDoc->InsertString(aPaM, OUString("CCCCC"));
pTxtNode = aPaM.GetNode()->GetTxtNode();
- CPPUNIT_ASSERT_EQUAL(11, pTxtNode->GetTxt().getLength());
+ CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(11),
+ pTxtNode->GetTxt().getLength());
{
ModelToViewHelper aModelToViewHelper(*pTxtNode, EXPANDFIELDS | EXPANDFOOTNOTE);
More information about the Libreoffice-commits
mailing list