another workaround for C++'s lack of proper overloading
Change-Id: I83f39c12a26e8acfe9a60d2ce9bd1b4b1b7c8c02
This commit is contained in:
@@ -410,7 +410,8 @@ void SwDocTest::testModelToViewHelper()
|
|||||||
(*pFieldmark->GetParameters())[ODF_FORMDROPDOWN_RESULT] = uno::makeAny(sal_Int32(0));
|
(*pFieldmark->GetParameters())[ODF_FORMDROPDOWN_RESULT] = uno::makeAny(sal_Int32(0));
|
||||||
m_pDoc->InsertString(aPaM, OUString("CCCCC"));
|
m_pDoc->InsertString(aPaM, OUString("CCCCC"));
|
||||||
pTxtNode = aPaM.GetNode()->GetTxtNode();
|
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);
|
ModelToViewHelper aModelToViewHelper(*pTxtNode, EXPANDFIELDS | EXPANDFOOTNOTE);
|
||||||
|
Reference in New Issue
Block a user