From 38e7e67248f0b477b4b1a6614e10dfca60a8a5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 7 Feb 2014 11:38:05 +0000 Subject: [PATCH] coverity#1158104 Unchecked dynamic_cast Change-Id: I725d1adc028597123dec10c2de6c609211c8e7a4 --- sd/qa/unit/import-tests.cxx | 1 + 1 file changed, 1 insertion(+) 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);