diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-18 10:04:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-18 11:42:39 +0100 |
commit | 6318f3a9805c9a8831a06e8bd471dea095fcf8ba (patch) | |
tree | 39a0a179ab124f97ac5d36726cb72418c75a8418 /vcl | |
parent | 71af21f7b0e4a0e95a1814c211bab24b6e3aed9c (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/graphic/GraphicObject.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx index 6728ab5d170e..aa5435d3ad50 100644 --- a/vcl/source/graphic/GraphicObject.cxx +++ b/vcl/source/graphic/GraphicObject.cxx @@ -602,16 +602,11 @@ const Graphic& GraphicObject::GetGraphic() const return maGraphic; } -void GraphicObject::SetGraphic( const Graphic& rGraphic, const GraphicObject* /*pCopyObj*/) +void GraphicObject::SetGraphic( const Graphic& rGraphic) { maGraphic = rGraphic; } -void GraphicObject::SetGraphic( const Graphic& rGraphic, std::u16string_view /*rLink*/ ) -{ - SetGraphic( rGraphic ); -} - Graphic GraphicObject::GetTransformedGraphic( const Size& rDestSize, const MapMode& rDestMap, const GraphicAttr& rAttr ) const { // #104550# Extracted from svx/source/svdraw/svdograf.cxx |