diff options
Diffstat (limited to 'svx/source/core/graphichelper.cxx')
-rw-r--r-- | svx/source/core/graphichelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index f307083f5245..86b1025e18f7 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -172,11 +172,11 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString& if( aOut.GetOutStream() && !aOut.GetOutStream()->GetError()) { aOut.GetOutStream()->WriteStream( *aIn.GetInStream() ); - if ( 0 == aIn.GetError() ) + if ( ERRCODE_NONE == aIn.GetError() ) { aOut.Close(); aOut.Commit(); - if ( 0 == aOut.GetError() ) + if ( ERRCODE_NONE == aOut.GetError() ) return sPath; } } |