diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-14 13:01:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-14 13:01:39 +0000 |
commit | 40c618ccb62b49c8d1d29518e77b5299eb6c1bd6 (patch) | |
tree | 19153a6bbea8aa504bb84aee2891d6ca95ac1e4a /scaddins/source | |
parent | 16ba6968f4fcf493ece9e37f50755f8c39e9d182 (diff) |
don't need to store this data
Change-Id: I797c0fc9cc293b0538392362e2e582e9821da530
Diffstat (limited to 'scaddins/source')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 6 | ||||
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 355217c331db..b6e7aeaee0b0 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -1388,7 +1388,6 @@ public: const ResStringArray& GetStringArray() const { return aStrArray; } }; - FuncData::FuncData( const FuncDataBase& r, ResMgr& rResMgr ) : aIntName( OUString::createFromAscii( r.pIntName ) ), nUINameID( r.nUINameID ), @@ -1396,13 +1395,12 @@ FuncData::FuncData( const FuncDataBase& r, ResMgr& rResMgr ) : bDouble( r.bDouble ), bWithOpt( r.bWithOpt ), nParam( r.nNumOfParams ), - nCompID( r.nCompListID ), eCat( r.eCat ) { if (r.pSuffix) aSuffix = OUString::createFromAscii( r.pSuffix); - AnalysisRscStrArrLoader aArrLoader( RID_ANALYSIS_DEFFUNCTION_NAMES, nCompID, rResMgr ); + AnalysisRscStrArrLoader aArrLoader(RID_ANALYSIS_DEFFUNCTION_NAMES, r.nCompListID, rResMgr); const ResStringArray& rArr = aArrLoader.GetStringArray(); sal_uInt16 nCount = sal::static_int_cast<sal_uInt16>( rArr.Count() ); @@ -1412,12 +1410,10 @@ FuncData::FuncData( const FuncDataBase& r, ResMgr& rResMgr ) : aCompList[n] = rArr.GetString( n ); } - FuncData::~FuncData() { } - sal_uInt16 FuncData::GetStrIndex( sal_uInt16 nParamNum ) const { if( !bWithOpt ) diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 670f5c55dc80..a5bf08d2437d 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -222,7 +222,6 @@ private: bool bWithOpt; // has internal parameter on first position sal_uInt16 nParam; // num of parameters - sal_uInt16 nCompID; std::vector<OUString> aCompList; // list of all valid names FDCategory eCat; // function category OUString aSuffix; // if bDouble and not empty, append a suffix other than "_ADD" for UI |