sd/inc/ResourceId.hxx | 5 ----- sd/source/ui/framework/configuration/ResourceId.cxx | 5 ----- 2 files changed, 10 deletions(-)
New commits: commit 4f3bde4ddb7003e958d3af77523ee95bfd511240 Author: Noel Grandin <[email protected]> AuthorDate: Thu Jun 26 13:28:33 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu Jun 26 15:07:11 2025 +0200 loplugin:unusedmethods Change-Id: I82b8f96b69055233e4e7ae29a33e5bdd9a4e2d65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187041 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sd/inc/ResourceId.hxx b/sd/inc/ResourceId.hxx index 78d6a81d64b0..b61df4918dae 100644 --- a/sd/inc/ResourceId.hxx +++ b/sd/inc/ResourceId.hxx @@ -197,11 +197,6 @@ public: const OUString& rsAnchorURL, css::drawing::framework::AnchorBindingMode eMode) const; - /** Return a copy of the called resource id. The caller becomes the - owner of the new object. - */ - rtl::Reference<ResourceId> clone() const; - private: /** The set of URLs that consist of the resource URL at index 0 and the anchor URLs and indices 1 and above. diff --git a/sd/source/ui/framework/configuration/ResourceId.cxx b/sd/source/ui/framework/configuration/ResourceId.cxx index 53a035a1ad8c..e9135697311c 100644 --- a/sd/source/ui/framework/configuration/ResourceId.cxx +++ b/sd/source/ui/framework/configuration/ResourceId.cxx @@ -263,11 +263,6 @@ bool ResourceId::isBoundToURL ( return IsBoundToAnchor(&rsAnchorURL, nullptr, eMode); } -rtl::Reference<ResourceId> ResourceId::clone() const -{ - return new ResourceId(std::vector(maResourceURLs)); -} - /** When eMode is DIRECTLY then the anchor of the called object and the anchor represented by the given sequence of anchor URLs have to be identical. When eMode is RECURSIVE then the anchor of the called
