summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-09-01 20:51:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-02 11:23:51 +0200
commit70cab065b4bfc2e68838b0056c52741eab8e32de (patch)
treecf001e6b3968c2be452545f17fa4a1d5acc4e039 /sc/source/ui/docshell
parentb5c039a58dde8992c41f7d7e22cf393a15e1033e (diff)
no need to use unique_ptr for this map in sc::ScRangeName
map is already a node based data structure, so the values will stay in the same place in memory Change-Id: I774368091ace3775d9d63b3ed561e323ad3adb9b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139236 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index b9424a4a92da..9b7c64eabc79 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -5184,7 +5184,7 @@ void ScDocFunc::SetNewRangeNames( std::unique_ptr<ScRangeName> pNewRanges, bool
}
}
-void ScDocFunc::ModifyAllRangeNames(const std::map<OUString, std::unique_ptr<ScRangeName>>& rRangeMap)
+void ScDocFunc::ModifyAllRangeNames(const std::map<OUString, ScRangeName>& rRangeMap)
{
ScDocShellModificator aModificator(rDocShell);
ScDocument& rDoc = rDocShell.GetDocument();