summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-05-17 18:21:04 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2017-05-18 00:27:45 +0300
commit33900a71ab7955d9d2d6009e58c5b5b149c1ce0f (patch)
treed513332385e99f23fc3ef54e861ad2e47de68d2b /include
parent598d033c1f345b0f84e43ec7ff2b21fe8c4ce062 (diff)
Addon items will get their icons in Activate anyway
(This piece of code is about the "OfficeHelp" feature of Addons.xcu. "AddonMenu" and "OfficeMenuBar" use a different MenuBarManager ctor, which never calls FillMenuManager.) Change-Id: Iab9ac5c606dd23a208de7f99d2883168fd2b588a
Diffstat (limited to 'include')
-rw-r--r--include/framework/addonmenu.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/framework/addonmenu.hxx b/include/framework/addonmenu.hxx
index c11eea13b177..859c1b428f8e 100644
--- a/include/framework/addonmenu.hxx
+++ b/include/framework/addonmenu.hxx
@@ -73,8 +73,6 @@ class FWE_DLLPUBLIC AddonMenuManager
static bool HasAddonMenuElements();
- static bool IsAddonMenuId( sal_uInt16 nId ) { return (( nId >= ADDONMENU_ITEMID_START ) && ( nId < ADDONMENU_ITEMID_END )); }
-
// Check if the context string matches the provided xModel context
static bool IsCorrectContext(const OUString& rModuleIdentifier, const OUString& rContext);