diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 10:02:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:18:37 +0000 |
commit | 1eeb20f3958666ec6ba6e0fcf52e92e5eb447a14 (patch) | |
tree | adc6eef7d5cc6a05e8a852d91e2793b91c21396d /rsc | |
parent | feff54d8ceeb42d5c9d7fec9b7ec1b99236c6dcb (diff) |
CurrencyFields cannot be loaded from .src anymore
Change-Id: I3ccdb71e39a13dc8c697d3a52dc693cff10c614d
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 2 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 31 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 15 |
3 files changed, 0 insertions, 48 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index b71e094f54eb..e36e296a29fc 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -218,8 +218,6 @@ class RscTypCont RscTop * InitClassPatternField( RscTop * pSuper ); RscTop * InitClassNumericField( RscTop * pSuper ); RscTop * InitClassMetricField( RscTop * pSuper ); - RscTop * InitClassCurrencyField( const char * pClassName, sal_uInt32 nRT, - RscTop * pSuper ); RscTop * InitClassDateField( RscTop * pSuper, RscTop * pClassDate ); RscTop * InitClassTimeField( RscTop * pSuper, RscTop * pClassTime ); RscTop * InitClassPatternBox( RscTop * pSuper ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 5bd3dcdf34d2..432cc80e813c 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -1455,37 +1455,6 @@ RscTop * RscTypCont::InitClassMetricField( RscTop * pSuper ) return pClassMetricField; } -RscTop * RscTypCont::InitClassCurrencyField -( - const char * pClassName, - sal_uInt32 nRT, - RscTop * pSuper -) -{ - Atom nId; - RscTop * pClassCurrencyField; - - // Klasse anlegen - nId = pHS->getID( pClassName ); - pClassCurrencyField = new RscClass( nId, nRT, pSuper ); - pClassCurrencyField->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - - aNmTb.Put( nId, CLASSNAME, pClassCurrencyField ); - - // Variablen anlegen - nId = aNmTb.Put( "First", VARNAME ); - pClassCurrencyField->SetVariable( nId, &aIdLong, NULL, - 0, CURRENCYFIELD_FIRST ); - nId = aNmTb.Put( "Last", VARNAME ); - pClassCurrencyField->SetVariable( nId, &aIdLong, NULL, - 0, CURRENCYFIELD_LAST ); - nId = aNmTb.Put( "SpinSize", VARNAME ); - pClassCurrencyField->SetVariable( nId, &aIdLong, NULL, - 0, CURRENCYFIELD_SPINSIZE ); - - return pClassCurrencyField; -} - RscTop * RscTypCont::InitClassDateField( RscTop * pSuper, RscTop * pClassDate ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 1d73ffaf6968..abcc5942e282 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -116,8 +116,6 @@ void RscTypCont::Init() RscTop * pClassPatternField; RscTop * pClassNumericField; RscTop * pClassMetricField; - RscTop * pClassCurrencyField; - RscTop * pClassLongCurrencyField; RscTop * pClassDateField; RscTop * pClassTimeField; RscTop * pClassPatternBox; @@ -612,19 +610,6 @@ void RscTypCont::Init() pRoot->Insert( pClassMetricField ); } { // Mehrfachvererbung von Hand - RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField ); - aBaseLst.push_back( pClassTmp ); - pClassTmp = InitClassCurrencyFormatter( pClassTmp ); - aBaseLst.push_back( pClassTmp ); - - pClassCurrencyField = InitClassCurrencyField( "CurrencyField", RSC_CURRENCYFIELD, pClassTmp ); - pRoot->Insert( pClassCurrencyField ); - - pClassLongCurrencyField = InitClassCurrencyField( "LongCurrencyField", RSC_LONGCURRENCYFIELD, pClassTmp ); - pRoot->Insert( pClassLongCurrencyField ); - - } - { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassDateFormatter( pClassSpinField, pClassDate ); aBaseLst.push_back( pClassTmp ); |