diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/view/ToolBarManager.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 607249f81023..d82b529ea24c 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -1203,10 +1203,7 @@ void ToolBarList::ClearGroup (sd::ToolBarManager::ToolBarGroup eGroup) Groups::iterator iGroup (maGroups.find(eGroup)); if (iGroup != maGroups.end()) { - if ( ! iGroup->second.empty()) - { - iGroup->second.clear(); - } + iGroup->second.clear(); } } |