summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscinit.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-14 20:11:29 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-16 06:42:57 +0000
commitee6af9f72c298972d7f255aa92f365b33a9e53b2 (patch)
treed140aea776f65c9778a231920b8e93f0c346022e /rsc/source/parser/rscinit.cxx
parent743cdf36d128bc1d0ea3315675b0bb5f85388099 (diff)
convert RSC_MENUITEM to scoped enum
Change-Id: I35469edc7d8e5621f016f5eba613474d45711cd3 Reviewed-on: https://gerrit.libreoffice.org/24998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc/source/parser/rscinit.cxx')
-rw-r--r--rsc/source/parser/rscinit.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index eca02aa5b7a0..b796c62d45a5 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -380,8 +380,7 @@ void RscTypCont::Init()
pClassAccelItem->SetVariable( nId, pClassAccel, nullptr, VAR_SVDYNAMIC,
ACCELITEM_ACCEL );
- RscTop* pClassMenuItem = InitClassMenuItem( pClassMgr, pClassBitmap,
- pLangClassKeyCode );
+ RscTop* pClassMenuItem = InitClassMenuItem( pClassMgr, pClassBitmap);
pRoot->Insert( pClassMenuItem );
RscTop* pClassMenu = InitClassMenu( pClassMgr, pClassMenuItem );
@@ -390,7 +389,7 @@ void RscTypCont::Init()
// pClassMenu is only completely defined here
nId = aNmTb.Put( "SubMenu", VARNAME );
pClassMenuItem->SetVariable( nId, pClassMenu, nullptr, VAR_SVDYNAMIC,
- RSC_MENUITEM_MENU );
+ (sal_uInt32)RscMenuItem::Menu );
}
{
// initialize class