diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 15:27:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 08:36:31 +0000 |
commit | 1690b84015b7fa882076d6fb7d79e1959e467544 (patch) | |
tree | 20aa80fa0b6f362ae4afab067d5449a3b790c0b8 /rsc/source | |
parent | 6581152f036e94f27fc2b37b4c836a1733a1a471 (diff) |
loplugin:expandablemethodds in reportdesign..sal
Change-Id: Idb133e442b881d263fcb83a4858c4a08b451c0f0
Reviewed-on: https://gerrit.libreoffice.org/30032
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscibas.cxx | 5 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 2 | ||||
-rw-r--r-- | rsc/source/tools/rscdef.cxx | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx index e035ea97405d..d632ebdf3187 100644 --- a/rsc/source/parser/rscibas.cxx +++ b/rsc/source/parser/rscibas.cxx @@ -165,11 +165,6 @@ Atom RscLangEnum::AddLanguage( const char* pLang, RscNameTable& rNames ) return nResult; } -void RscTypCont::InitLangType() -{ - aLangType.Init( aNmTb ); -} - RscEnum * RscTypCont::InitFieldUnitsType() { RscEnum * pFieldUnits; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 78126c4d948b..735acef364fd 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -233,7 +233,7 @@ void RscTypCont::Init() aWinBits.SetConstant( nStdPopupId, sal::static_int_cast<sal_Int32>(WB_STDPOPUP) ); } { - InitLangType(); + aLangType.Init( aNmTb ); aBaseLst.push_back( pFieldUnits = InitFieldUnitsType() ); aBaseLst.push_back( pColor = InitColor() ); aBaseLst.push_back( pMapUnit = InitMapUnit() ); diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx index 5bf4eae70644..9beb17e4d5f8 100644 --- a/rsc/source/tools/rscdef.cxx +++ b/rsc/source/tools/rscdef.cxx @@ -154,7 +154,7 @@ void RscDefine::DefineToNumber() { delete pExp; pExp = nullptr; - SetName(OString::number(lId)); + m_aName = OString::number(lId); } void RscDefine::Evaluate() |