another workaround for C++'s lack of proper overloading

Change-Id: I83f39c12a26e8acfe9a60d2ce9bd1b4b1b7c8c02
This commit is contained in:
Michael Stahl 2014-04-08 12:40:41 +02:00
parent 477050b3c0
commit c65a70c444

View File

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