diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-17 18:21:04 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-18 00:27:45 +0300 |
commit | 33900a71ab7955d9d2d6009e58c5b5b149c1ce0f (patch) | |
tree | d513332385e99f23fc3ef54e861ad2e47de68d2b /include/framework | |
parent | 598d033c1f345b0f84e43ec7ff2b21fe8c4ce062 (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/framework')
-rw-r--r-- | include/framework/addonmenu.hxx | 2 |
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); |