Kaydet (Commit) 841ea0ac authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#441137 Dereference after null check

Change-Id: I877abe904885f28560cf43ee70001ac97fadbe04
üst 338beca1
...@@ -333,6 +333,9 @@ void ImageProducer::startProduction() throw(::com::sun::star::uno::RuntimeExcept ...@@ -333,6 +333,9 @@ void ImageProducer::startProduction() throw(::com::sun::star::uno::RuntimeExcept
sal_Bool ImageProducer::ImplImportGraphic( Graphic& rGraphic ) sal_Bool ImageProducer::ImplImportGraphic( Graphic& rGraphic )
{ {
if (!mpStm)
return false;
if( ERRCODE_IO_PENDING == mpStm->GetError() ) if( ERRCODE_IO_PENDING == mpStm->GetError() )
mpStm->ResetError(); mpStm->ResetError();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment