diff options
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r-- | sw/source/ui/docvw/romenu.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/romenu.cxx b/sw/source/ui/docvw/romenu.cxx index 4db8c60b8d20..068ec3e36935 100644 --- a/sw/source/ui/docvw/romenu.cxx +++ b/sw/source/ui/docvw/romenu.cxx @@ -471,12 +471,10 @@ String ExportGraphic( const Graphic &rGraphic, const String &rGrfName ) nDfltFilter == rGF.GetExportFormatNumber( xFltMgr->getCurrentFilter())) { // try to save the original graphic - SfxMedium aIn( rGrfName, STREAM_READ | STREAM_NOCREATE, - sal_True ); + SfxMedium aIn( rGrfName, STREAM_READ | STREAM_NOCREATE ); if( aIn.GetInStream() && !aIn.GetInStream()->GetError() ) { - SfxMedium aOut( sPath, STREAM_WRITE | STREAM_SHARE_DENYNONE, - sal_False); + SfxMedium aOut( sPath, STREAM_WRITE | STREAM_SHARE_DENYNONE); if( aOut.GetOutStream() && !aOut.GetOutStream()->GetError()) { *aOut.GetOutStream() << *aIn.GetInStream(); |