diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index f7d3b4f13d1e..8f40354ea7aa 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -275,6 +275,7 @@ void SdFiltersTest::testN828390_3() SdrObject *pObj = pPage->GetObj(0); SdrTextObj *pTxtObj = dynamic_cast( pObj ); + CPPUNIT_ASSERT( pTxtObj ); const EditTextObject& aEdit = pTxtObj->GetOutlinerParaObject()->GetTextObject(); std::vector rLst; aEdit.GetCharAttribs(1, rLst);