coverity#1158104 Unchecked dynamic_cast
Change-Id: I725d1adc028597123dec10c2de6c609211c8e7a4
This commit is contained in:
@@ -275,6 +275,7 @@ void SdFiltersTest::testN828390_3()
|
||||
|
||||
SdrObject *pObj = pPage->GetObj(0);
|
||||
SdrTextObj *pTxtObj = dynamic_cast<SdrTextObj *>( pObj );
|
||||
CPPUNIT_ASSERT( pTxtObj );
|
||||
const EditTextObject& aEdit = pTxtObj->GetOutlinerParaObject()->GetTextObject();
|
||||
std::vector<EECharAttrib> rLst;
|
||||
aEdit.GetCharAttribs(1, rLst);
|
||||
|
Reference in New Issue
Block a user