summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-25 10:30:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 11:41:23 +0100
commitf615d6195a2be9f9f2cbd7e9f77f042acac6656f (patch)
tree34d0ddafa342caf8cc79c0ee95a148680b103c1e
parentd1bea6be4f8190c1a6da7768ea2b80a5b51676a8 (diff)
can drop RSC_CONTROL now
Change-Id: I651b9d2ead019507b8e48c4e19797bf8f8b9a438
-rw-r--r--include/tools/rcid.h2
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/source/parser/rscicpx.cxx17
-rw-r--r--rsc/source/parser/rscinit.cxx5
4 files changed, 0 insertions, 25 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index 96859d12eb84..4a9951ecd11f 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -45,8 +45,6 @@
#define RSC_WINDOW (RSC_NOTYPE + 0x35)
-#define RSC_CONTROL (RSC_NOTYPE + 0x44)
-
#define RSC_STRINGARRAY (RSC_NOTYPE + 0x79)
// (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 87036e4caf27..cc7bbaf0546a 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -174,7 +174,6 @@ class RscTypCont
RscTop * InitClassImageList( RscTop * pSuper, RscCont * pStrLst );
RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit,
RscArray * pLangGeo );
- RscTop * InitClassControl( RscTop * pSuper );
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
RscTop * InitClassMenuItem( RscTop * pSuper );
RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem );
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 0d3aa6509188..3adc7122213c 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -245,23 +245,6 @@ RscTop * RscTypCont::InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit,
return pClassWindow;
}
-RscTop * RscTypCont::InitClassControl( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassControl;
-
- // initialize class
- nId = pHS->getID( "Control" );
- pClassControl = new RscClass( nId, RSC_CONTROL, pSuper );
- pClassControl->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassControl );
-
- InsWinBit( pClassControl, "TabStop", nTabstopId );
- INS_WINBIT(pClassControl,Group)
-
- return pClassControl;
-}
-
RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 066fad44d94b..e7663c8e4016 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -62,7 +62,6 @@ void RscTypCont::Init()
RscTop * pClassImage;
RscTop * pClassImageList;
RscTop * pClassWindow;
- RscTop * pClassControl;
RscTop * pClassKeyCode;
Atom nId;
@@ -283,10 +282,6 @@ void RscTypCont::Init()
pRoot->Insert( pClassWindow );
}
{
- pClassControl = InitClassControl( pClassWindow );
- pRoot->Insert( pClassControl );
-}
-{
pClassKeyCode = InitClassKeyCode( pClassMgr, pKey );
pRoot->Insert( pClassKeyCode );
}