diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 13:33:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 14:30:40 +0000 |
commit | baa57e5e50805a90519e2e480cfb3e0a6c2afee9 (patch) | |
tree | 09628a1db97675029a91e8a70a567ff42a4ad7a4 | |
parent | 40606287d0cc48dd5ff2d98a310a1b56ca5ed388 (diff) |
coverity#705900 Dereference before null check
Change-Id: I523aa738d4a15395f708aafa9edd266e5717421e
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 58955ef4b738..00f28e30b6c4 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -1454,7 +1454,7 @@ Reference< XInputStream > SdrGrafObj::getInputStream() if( pModel ) { // can be loaded from the original document stream later - if( pGraphic->HasUserData() ) + if( pGraphic && pGraphic->HasUserData() ) { ::comphelper::LifecycleProxy proxy; xStream.set( |