From e47b43f4c2fd2a634469b3f2797352d0e3d09ca3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 17 Nov 2014 09:17:17 +0100 Subject: -Werror,-Wunused-variable ...since 286e2f5c6ec829bc0987b1be7016699f7ef03e5e "Related fdo#82953: Forget package URL of image after it is loaded" Change-Id: If4cc941353b72f555dee26d158aee7b15b359a9c --- svx/source/svdraw/svdograf.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'svx') diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 42c33ce7a0f2..585abe43ab3f 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -1347,8 +1347,6 @@ IMPL_LINK( SdrGrafObj, ImpSwapHdl, GraphicObject*, pO ) aGraphic, aUserData, *pStream, GRFILTER_FORMAT_DONTKNOW, NULL, 0, pFilterData.get())) { - const OUString aNewUserData( pGraphic->GetUserData() ); - pGraphic->SetGraphic( aGraphic ); pGraphic->SetUserData(); -- cgit