summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-24 13:09:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-24 14:56:13 +0000
commit6f71fa11c0b1c5a9683c43bc98acec57a4d53610 (patch)
treec5a47c553a02003903e2c98be64f249fde3678a4 /rsc
parent32cbe7125387397bf269fb6ca83c11cf66f9d543 (diff)
vcl makes no use of menu Get/Set DefaultItem
this is exposed through uno however, so move it into VCLXMenu to continue to support it doing nothing of great value there Change-Id: I6888e61cbec85faa2d1fcca8731ab42023e594c6
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscicpx.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 9927113a0b67..e03ce1e04422 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -357,9 +357,6 @@ RscTop * RscTypCont::InitClassMenu( RscTop * pSuper,
}
nId = aNmTb.Put( "Text", VARNAME );
pClassMenu->SetVariable( nId, &aLangString, nullptr, 0, (sal_uInt32)RscMenu::Text );
- nId = aNmTb.Put( "DefaultItemId", VARNAME );
- pClassMenu->SetVariable( nId, &aIdUShort, nullptr, 0,
- (sal_uInt32)RscMenu::DefaultItemId );
return pClassMenu;
}