summaryrefslogtreecommitdiffstats
path: root/rsc/source/parser/rscinit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/parser/rscinit.cxx')
-rw-r--r--rsc/source/parser/rscinit.cxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 4ecf9f657fdd..a330f739fe2d 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -21,14 +21,13 @@
#include <stdlib.h>
#include <stdio.h>
-#include <tools/rc.h>
+#include <tools/rcid.h>
#include <tools/wintypes.hxx>
#include <rsctree.hxx>
#include <rsctop.hxx>
#include <rscrange.hxx>
#include <rscconst.hxx>
-#include <rscflag.hxx>
#include <rscstr.hxx>
#include <rsccont.hxx>
#include <rscmgr.hxx>
@@ -67,13 +66,7 @@ void RscTypCont::Init()
aNmTb.Put( "FALSE", BOOLEAN, (sal_IntPtr)false );
}
{
- aShort.SetRange( -32768, 32767 );
-
- aUShort.SetRange( 0, 0xFFFF );
-
aEnumLong.SetRange( SAL_MIN_INT32, SAL_MAX_INT32 );
-
- aIdNoZeroUShort.SetRange( 1, 0xFFFF );
}
{
aLangType.Init( aNmTb );
@@ -111,18 +104,6 @@ void RscTypCont::Init()
pRoot->Insert( pClassBitmap );
}
-{
- RscTop* pClassMenuItem = InitClassMenuItem(pClassMgr);
- pRoot->Insert( pClassMenuItem );
-
- RscTop* pClassMenu = InitClassMenu( pClassMgr, pClassMenuItem );
- pRoot->Insert( pClassMenu );
-
- // pClassMenu is only completely defined here
- nId = aNmTb.Put( "SubMenu", VARNAME );
- pClassMenuItem->SetVariable( nId, pClassMenu, nullptr, RSCVAR::SvDynamic,
- (sal_uInt32)RscMenuItem::Menu );
-}
aNmTb.SetSort();
}