summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-10 14:22:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-10 14:56:58 +0100
commit9f7f5b5f911c4e76c88258f6ee3e7d51484f195b (patch)
tree813fa04c2c1292de6dff20f1b134406b1c1335e6 /rsc
parent666787c4bcee7fc9a5de459eb18a1dcc1a4e350c (diff)
no numericfield, spinfield or spinbutton loaded from .src now
Change-Id: I90e4390d1fadcbb18036861dc9b9d39fa8a73551
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx5
-rw-r--r--rsc/source/parser/rscicpx.cxx73
-rw-r--r--rsc/source/parser/rscinit.cxx34
3 files changed, 0 insertions, 112 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 7bd694926a66..30117dca03fb 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -191,11 +191,6 @@ class RscTypCont
RscTop * InitClassMenuItem( RscTop * pSuper );
RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem );
- RscTop * InitClassNumericFormatter( RscTop * pSuper );
-
- RscTop * InitClassSpinField( RscTop * pSuper );
- RscTop * InitClassNumericField( RscTop * pSuper );
-
RscTop * InitClassDockingWindow( RscTop * pSuper,
RscEnum * pMapUnit );
RscTop * InitClassToolBoxItem(RscTop * pSuper);
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 714c1ac16224..beba5ad2daef 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -664,79 +664,6 @@ RscTop * RscTypCont::InitClassMenu( RscTop * pSuper,
return pClassMenu;
}
-RscTop * RscTypCont::InitClassNumericFormatter( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassNumeric;
-
- // initialize class
- nId = pHS->getID( "NumericFormatter" );
- pClassNumeric = new RscClass( nId, RSC_NOTYPE, pSuper );
- pClassNumeric->SetCallPar( *pStdPar1, *pStdPar2, *pStdParType );
-
- // initialize variables
- nId = aNmTb.Put( "Minimum", VARNAME );
- pClassNumeric->SetVariable( nId, &aIdLong, nullptr,
- 0, (sal_uInt32)RscNumFormatterFlags::Min );
- nId = aNmTb.Put( "Maximum", VARNAME );
- pClassNumeric->SetVariable( nId, &aIdLong, nullptr,
- 0, (sal_uInt32)RscNumFormatterFlags::Max );
- nId = aNmTb.Put( "StrictFormat", VARNAME );
- pClassNumeric->SetVariable( nId, &aBool, nullptr,
- 0, (sal_uInt32)RscNumFormatterFlags::StrictFormat );
- nId = aNmTb.Put( "DecimalDigits", VARNAME );
- pClassNumeric->SetVariable( nId, &aUShort, nullptr,
- 0, (sal_uInt32)RscNumFormatterFlags::DecimalDigits );
- nId = aNmTb.Put( "Value", VARNAME );
- pClassNumeric->SetVariable( nId, &aIdLong, nullptr,
- 0, (sal_uInt32)RscNumFormatterFlags::Value );
-
- return pClassNumeric;
-}
-
-RscTop * RscTypCont::InitClassSpinField( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassSpinField;
-
- // initialize class
- nId = pHS->getID( "SpinField" );
- pClassSpinField = new RscClass( nId, RSC_SPINFIELD, pSuper );
- pClassSpinField->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
-
- aNmTb.Put( nId, CLASSNAME, pClassSpinField );
-
- INS_WINBIT(pClassSpinField,Repeat)
- INS_WINBIT(pClassSpinField,Spin)
-
- return pClassSpinField;
-}
-
-RscTop * RscTypCont::InitClassNumericField( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassNumericField;
-
- // initialize class
- nId = pHS->getID( "NumericField" );
- pClassNumericField = new RscClass( nId, RSC_NUMERICFIELD, pSuper );
- pClassNumericField->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
-
- aNmTb.Put( nId, CLASSNAME, pClassNumericField );
-
- // initialize variables
- nId = aNmTb.Put( "First", VARNAME );
- pClassNumericField->SetVariable( nId, &aIdLong, nullptr,
- 0, NUMERICFIELD_FIRST );
- nId = aNmTb.Put( "Last", VARNAME );
- pClassNumericField->SetVariable( nId, &aIdLong, nullptr,
- 0, NUMERICFIELD_LAST );
- nId = aNmTb.Put( "SpinSize", VARNAME );
- pClassNumericField->SetVariable( nId, &aIdLong, nullptr,
- 0, NUMERICFIELD_SPINSIZE );
- return pClassNumericField;
-}
-
RscTop * RscTypCont::InitClassDockingWindow( RscTop * pSuper,
RscEnum * pMapUnit )
{
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index f1363113852e..5761dd5a27d4 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -72,7 +72,6 @@ void RscTypCont::Init()
RscTop * pClassFixedImage;
RscTop * pClassKeyCode;
RscTop * pLangClassKeyCode;
- RscTop * pClassSpinField;
Atom nId;
@@ -346,39 +345,6 @@ void RscTypCont::Init()
(sal_uInt32)RscMenuItem::Menu );
}
{
- // initialize class
- nId = pHS->getID( "SpinButton" );
- RscTop* pClassSpinButton = new RscClass( nId, RSC_SPINBUTTON, pClassControl );
- pClassSpinButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassSpinButton );
- {
- RscClient * pClient;
-
- // add client variables
- // Sysmodal
- aBaseLst.push_back(
- pClient = new RscClient( pHS->getID( "sal_Bool" ), RSC_NOTYPE, &aWinBits, nRepeatId )
- );
- nId = aNmTb.Put( "Repeat", VARNAME );
- pClassSpinButton->SetVariable( nId, pClient, nullptr,
- VAR_NODATAINST, 0, nWinBitVarId );
- }
- pRoot->Insert( pClassSpinButton );
-}
-{
- pClassSpinField = InitClassSpinField( pClassEdit );
- pRoot->Insert( pClassSpinField );
-}
-{
- { // hand-made multiple inheritance
- RscTop* pClassTmp = InitClassNumericFormatter( pClassSpinField );
- aBaseLst.push_back( pClassTmp );
-
- RscTop* pClassNumericField = InitClassNumericField( pClassTmp );
- pRoot->Insert( pClassNumericField );
- }
-}
-{
RscTop* pClassDockingWindow = InitClassDockingWindow( pClassWindow, pMapUnit );
pRoot->Insert( pClassDockingWindow );