summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/ToolBarManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/ToolBarManager.cxx')
-rw-r--r--sd/source/ui/view/ToolBarManager.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx
index b8ea8b70bfcb..e540c2cc83a7 100644
--- a/sd/source/ui/view/ToolBarManager.cxx
+++ b/sd/source/ui/view/ToolBarManager.cxx
@@ -1245,10 +1245,9 @@ void ToolBarList::MakeRequestedToolBarList (std::vector<OUString>& rRequestedToo
{
Groups::const_iterator iGroup (maGroups.find(eGroup));
if (iGroup != maGroups.end())
- ::std::copy(
+ rRequestedToolBars.insert( rRequestedToolBars.end(),
iGroup->second.begin(),
- iGroup->second.end(),
- ::std::inserter(rRequestedToolBars,rRequestedToolBars.end()));
+ iGroup->second.end() );
}
}