summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-07 11:40:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-07 12:24:45 +0000
commitac01fd51822dc006abec578d61d66f7a169c19cb (patch)
tree6167d9957ab9f0fe2fcc0e31ec066d19542941c8 /sd/qa
parentc72f099d90353460a197e8308256e5aac2fa8383 (diff)
coverity#1158101 Unchecked dynamic_cast
Change-Id: Ibbe35f67a92dd41d45d2e1b4a3bb240b6b7adc66
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/import-tests.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 2698b836995c..ccc978191103 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -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)