diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/impoptimizer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx index 33c4e02ce122..4f5bcbd901d5 100644 --- a/sdext/source/minimizer/impoptimizer.cxx +++ b/sdext/source/minimizer/impoptimizer.cxx @@ -352,7 +352,7 @@ Reference< XGraphic > ImpCompressGraphic( const Reference< XComponentContext >& } else // this is a metafile { - OUString aDestMimeType( aSourceMimeType ); + const OUString& aDestMimeType( aSourceMimeType ); Reference< XStream > xTempFile( io::TempFile::create(rxContext), UNO_QUERY_THROW ); Reference< XOutputStream > xOutputStream( xTempFile->getOutputStream() ); Reference< XGraphicProvider > xGraphicProvider( GraphicProvider::create( rxContext ) ); |