summaryrefslogtreecommitdiff
path: root/svtools/source/edit
diff options
context:
space:
mode:
authorChristian Dywan <christian.dywan@lanedo.com>2011-04-21 15:14:32 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-04-28 10:59:58 +0100
commit129ac65d77c1c626c7bf2ce18a680fadc1cc8e3f (patch)
tree64bce63ce94b0c510da16a8ecc1d2b39a10d1f0e /svtools/source/edit
parentcfafcbc87caa2e463278484b3d298a97dcd92615 (diff)
Introduce HideDisabledMenuItems style setting
The STYLE_OPTION_HIDEDISABLED flag is removed. The setting is enabled for KDE and OSX.
Diffstat (limited to 'svtools/source/edit')
-rw-r--r--svtools/source/edit/svmedit.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index 2e45ae38172b..6c720acff89b 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -859,9 +859,6 @@ void TextWindow::Command( const CommandEvent& rCEvt )
if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU )
{
PopupMenu* pPopup = Edit::CreatePopupMenu();
- const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
- if ( rStyleSettings.GetOptions() & STYLE_OPTION_HIDEDISABLED )
- pPopup->SetMenuFlags( MENU_FLAG_HIDEDISABLEDENTRIES );
if ( !mpExtTextView->HasSelection() )
{
pPopup->EnableItem( SV_MENU_EDIT_CUT, sal_False );