From c65a70c4440a2e7c17f0c71a2875cc50f4f39fa9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 8 Apr 2014 12:40:41 +0200 Subject: [PATCH] another workaround for C++'s lack of proper overloading Change-Id: I83f39c12a26e8acfe9a60d2ce9bd1b4b1b7c8c02 --- sw/qa/core/uwriter.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index 3d5b010cdfb5..d6fa423ddd3c 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(11), + pTxtNode->GetTxt().getLength()); { ModelToViewHelper aModelToViewHelper(*pTxtNode, EXPANDFIELDS | EXPANDFOOTNOTE);