summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 15:59:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 16:41:34 +0000
commitaa19046e3b72e0298b493f04dc1641079915ede2 (patch)
treea69ea37ee997385412f048029c7b98f2281f4f19 /sc/qa/unit
parent618e93c4864d93d10c388996ccf2276b5f5f9aba (diff)
coverity#989717 Dereference null return value
Change-Id: Ib6684a6f83b6e6d7362301fd67eb47911afaa809
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/filters-test.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index e7dcae25945d..10dfea944115 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -459,6 +459,7 @@ void impl_testLegacyCellAnchoredRotatedShape( ScDocument* pDoc, Rectangle& aRect
ScDrawObjData* pData = ScDrawLayer::GetObjData( pObj );
+ CPPUNIT_ASSERT_MESSAGE("expected object meta data", pData);
printf("expected startrow %" SAL_PRIdINT32 " actual %" SAL_PRIdINT32 "\n", aAnchor.maStart.Row(), pData->maStart.Row() );
CPPUNIT_ASSERT_EQUAL( aAnchor.maStart.Row(), pData->maStart.Row() );
printf("expected startcol %d actual %d\n", aAnchor.maStart.Col(), pData->maStart.Col() );