From 719a2adfbdac8ce26a035e5fedeeaade8706832d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 May 2017 16:12:01 +0200 Subject: remove unnecessary empty OUString fields and vars Change-Id: I940120087a0bc6b1b0abc30a3e7727ce22b7d9a7 Reviewed-on: https://gerrit.libreoffice.org/37394 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sdext/source/minimizer/impoptimizer.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sdext/source/minimizer') 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 -- cgit