summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/minimizer/impoptimizer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx
index 41d5250370c8..cd3e5815242b 100644
--- a/sdext/source/minimizer/impoptimizer.cxx
+++ b/sdext/source/minimizer/impoptimizer.cxx
@@ -418,9 +418,8 @@ void CompressGraphics( ImpOptimizer& rOptimizer, const Reference< XComponentCont
{
if ( aGraphicUserIter->mxShape.is() )
{
- OUString sEmptyGraphicURL;
Reference< XPropertySet > xShapePropertySet( aGraphicUserIter->mxShape, UNO_QUERY_THROW );
- xShapePropertySet->setPropertyValue( "GraphicURL", Any( sEmptyGraphicURL ) );
+ xShapePropertySet->setPropertyValue( "GraphicURL", Any( OUString() ) );
xShapePropertySet->setPropertyValue( "Graphic", Any( xNewGraphic ) );
if ( aGraphicUserIter->maGraphicCropLogic.Left || aGraphicUserIter->maGraphicCropLogic.Top