[Libreoffice-commits] core.git: scaddins/source
Caolán McNamara
caolanm at redhat.com
Tue Feb 14 13:00:38 UTC 2017
scaddins/source/datefunc/datefunc.cxx | 3 +--
scaddins/source/datefunc/datefunc.hxx | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 16ba6968f4fcf493ece9e37f50755f8c39e9d182
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 14 13:00:00 2017 +0000
don't need to store this data
Change-Id: Ic6d1e061073937b967e289d16a7d2926b5cb733a
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index d476bc5..a801faf 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -65,13 +65,12 @@ ScaFuncData::ScaFuncData( const ScaFuncDataBase& rBaseData, ResMgr& rResMgr ) :
aIntName( OUString::createFromAscii( rBaseData.pIntName ) ),
nUINameID( rBaseData.nUINameID ),
nDescrID( rBaseData.nDescrID ),
- nCompListID( rBaseData.nCompListID ),
nParamCount( rBaseData.nParamCount ),
eCat( rBaseData.eCat ),
bDouble( rBaseData.bDouble ),
bWithOpt( rBaseData.bWithOpt )
{
- ScaResStringArrLoader aArrLoader( RID_DATE_DEFFUNCTION_NAMES, nCompListID, rResMgr );
+ ScaResStringArrLoader aArrLoader(RID_DATE_DEFFUNCTION_NAMES, rBaseData.nCompListID, rResMgr);
const ResStringArray& rArr = aArrLoader.GetStringArray();
for( sal_uInt32 nIndex = 0; nIndex < rArr.Count(); nIndex++ )
diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx
index d66b739..3e5de79 100644
--- a/scaddins/source/datefunc/datefunc.hxx
+++ b/scaddins/source/datefunc/datefunc.hxx
@@ -119,7 +119,6 @@ private:
OUString aIntName; // internal name (get***)
sal_uInt16 nUINameID; // resource ID to UI name
sal_uInt16 nDescrID; // leads also to parameter descriptions!
- sal_uInt16 nCompListID; // resource ID to list of valid names
sal_uInt16 nParamCount; // num of parameters
std::vector<OUString> aCompList; // list of all valid names
ScaCategory eCat; // function category
More information about the Libreoffice-commits
mailing list