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);