summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-23 13:21:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 14:22:42 +0000
commitfe56219fcc60e085a75de29757a45cf63709e78b (patch)
tree783da9b9636b89a6b70eb24d0aad8d79ce6bac4e /filter
parente4d8872d075231346848569747ea2bff8697a109 (diff)
coverity#704639 Dereference after null check
Change-Id: Ic176da3b05337678dd12fd23a726b958577cbefb
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 68cfc3a79da2..3d2a7dc5b98a 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -6116,7 +6116,7 @@ sal_Bool SvxMSDffManager::GetShape(sal_uLong nId, SdrObject*& rpShape,
// restore old alte FilePos of the stream(s)
rStCtrl.Seek( nOldPosCtrl );
- if( &rStCtrl != pStData )
+ if( &rStCtrl != pStData && pStData )
pStData->Seek( nOldPosData );
return ( 0 != rpShape );
}