From 6318f3a9805c9a8831a06e8bd471dea095fcf8ba Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 18 Nov 2020 10:04:49 +0100 Subject: Remove unused GraphicObject::SetGraphic pCopyObj and rLink parameters The defaulted pCopyObj parameter of the first SetGraphic overload became unused with ea3d755ac949c1b6dada5c341e018f8c23f5d395 "vcl: detach usage and remove GraphicManager and GraphicCache", and then the rLink parameter of the second overload became unused with e4eb416c3ef81d098ed61caabd2077cbbb2418bc "remove swapping and link from GraphicObject and Graphic" (removing the need to have two different overloads). Change-Id: I15a648845ed474ee302e2a9836776ba74b9c44a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106045 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- svx/source/svdraw/svdograf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/svdraw/svdograf.cxx') diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 217d953d532d..f175f9c33181 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -749,7 +749,7 @@ SdrGrafObj& SdrGrafObj::operator=( const SdrGrafObj& rObj ) if (mbIsSignatureLine && rObj.mpSignatureLineUnsignedGraphic) mpGraphicObject->SetGraphic(rObj.mpSignatureLineUnsignedGraphic); else - mpGraphicObject->SetGraphic( rObj.GetGraphic(), &rObj.GetGraphicObject() ); + mpGraphicObject->SetGraphic( rObj.GetGraphic() ); if( rObj.IsLinkedGraphic() ) { -- cgit v1.2.1