coverity#1158103 Unchecked dynamic_cast
Change-Id: Id08897c1dcb9df59458a29d5d20d57cd6a9039f8
This commit is contained in:
parent
38e7e67248
commit
0d1d6aa26e
@ -255,6 +255,7 @@ void SdFiltersTest::testN828390_2()
|
||||
|
||||
SdrObject *pObj = pPage->GetObj(0);
|
||||
SdrTextObj *pTxtObj = dynamic_cast<SdrTextObj *>( pObj );
|
||||
CPPUNIT_ASSERT( pTxtObj );
|
||||
const EditTextObject& aEdit = pTxtObj->GetOutlinerParaObject()->GetTextObject();
|
||||
CPPUNIT_ASSERT(aEdit.GetText(0) == OUString("Linux "));
|
||||
CPPUNIT_ASSERT(aEdit.GetText(1) == OUString("Standard Platform"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user