summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-11-18 16:36:12 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2015-11-18 15:16:58 +0000
commit5da50768716fbcb0ffc093ecd588527723109fed (patch)
treeb6343cad3ec9ee80c556bf76d5136fd5aa61cae6 /sc
parent99648095012187ef284d0a9399a8e12878b2a370 (diff)
Unify menu-based toolbar controllers
The new GenericPopupToolbarController takes by default the popup menu controller that registered for the same .uno:Something command, and sets ToolBoxItemBits to ToolBoxItemBits::DROPDOWNONLY. If a different command specified using the "Value" property - takes the popup menu controller that registered for this command, and sets bits to ToolBoxItemBits::DROPDOWN. Change-Id: I75c5300bd27fcc9f618f2ee0df2aa6aefd088239 Reviewed-on: https://gerrit.libreoffice.org/20040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/scdll.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index 56cfc4527814..455bacc4fa82 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -148,9 +148,6 @@ void ScDLL::Init()
ScMediaShell ::RegisterInterface(pMod);
ScPageBreakShell ::RegisterInterface(pMod);
- SfxRecentFilesToolBoxControl::RegisterControl(SID_OPEN_CALC, pMod);
- SfxSaveAsToolBoxControl::RegisterControl(SID_SAVEDOC, pMod );
-
// Own Controller
ScZoomSliderControl ::RegisterControl(SID_PREVIEW_SCALINGFACTOR, pMod);