coverity#1158101 Unchecked dynamic_cast
Change-Id: Ibbe35f67a92dd41d45d2e1b4a3bb240b6b7adc66
This commit is contained in:
@@ -223,6 +223,7 @@ void SdFiltersTest::testN828390()
|
||||
// Get the object
|
||||
SdrObject *pObj = pPage->GetObj(0);
|
||||
SdrTextObj *pTxtObj = dynamic_cast<SdrTextObj *>( pObj );
|
||||
CPPUNIT_ASSERT( pTxtObj );
|
||||
const EditTextObject& aEdit = pTxtObj->GetOutlinerParaObject()->GetTextObject();
|
||||
aEdit.GetCharAttribs(0, rLst);
|
||||
for( std::vector<EECharAttrib>::reverse_iterator it = rLst.rbegin(); it!=rLst.rend(); ++it)
|
||||
|
Reference in New Issue
Block a user