diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-17 18:46:00 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-18 00:28:49 +0300 |
commit | d5d020327bdd37cf490a2e1931d5d8dd6f221dbb (patch) | |
tree | 61b455258e6d5dc47074273a50924e6731683b0f /vcl/source | |
parent | 3f738f81398095377ac736c2363be84141e25b9a (diff) |
Remove sfx2 include from vcl
(And we don't have menus with item ids from sfx2 anymore.)
Change-Id: Ic4d0f3c6a2d15cfda6498617a45ba2e25b5dd7f1
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/menu.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index ab458216eca9..ead4e91eff10 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -63,8 +63,6 @@ #include <vcl/lazydelete.hxx> -#include <sfx2/sfxsids.hrc> - #include <map> #include <vector> @@ -1205,8 +1203,7 @@ bool Menu::ImplIsVisible( sal_uInt16 nPos ) const else if ( pData->eType != MenuItemType::SEPARATOR ) // separators handled above { // tdf#86850 Always display clipboard functions - if ( pData->nId == SID_CUT || pData->nId == SID_COPY || pData->nId == SID_PASTE || - pData->aCommandStr == ".uno:Cut" || pData->aCommandStr == ".uno:Copy" || pData->aCommandStr == ".uno:Paste" ) + if ( pData->aCommandStr == ".uno:Cut" || pData->aCommandStr == ".uno:Copy" || pData->aCommandStr == ".uno:Paste" ) bVisible = true; else // bVisible = pData->bEnabled && ( !pData->pSubMenu || pData->pSubMenu->HasValidEntries( true ) ); |