diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 09:19:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 09:43:15 +0100 |
commit | 1732919a6e434adca31d4a9d4daa95e19e14c342 (patch) | |
tree | c472c5fe953bbc6db89c41c4c1fe2b262f78bc7f /sd | |
parent | d4e346b0488bf8cd3e9f5203e0833b06d478bee7 (diff) |
coverity#1209803 Dereference before null check
Change-Id: Ie6435770edc709feba2ad191e00e03d637cf6154
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index c0897d59245b..640c51f69673 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -541,7 +541,6 @@ void SdFiltersTest::testFdo72998() SdrObjCustomShape *pObj = dynamic_cast<SdrObjCustomShape *>(pPage->GetObj(2)); CPPUNIT_ASSERT( pObj ); const SdrCustomShapeGeometryItem& rGeometryItem = (const SdrCustomShapeGeometryItem&)pObj->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ); - CPPUNIT_ASSERT_MESSAGE( "not a custom shape", pObj ); const ::com::sun::star::uno::Any* pViewBox = ((SdrCustomShapeGeometryItem&)rGeometryItem).GetPropertyValueByName( OUString( "ViewBox" ) ); CPPUNIT_ASSERT_MESSAGE( "Missing ViewBox", pViewBox ); com::sun::star::awt::Rectangle aViewBox; |