diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 12:13:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 12:13:42 +0100 |
commit | a3b7bec8409c1d169a96d277e39157d3bc71d914 (patch) | |
tree | 3200f4e8837fb15357cb48929254927b141a443e /scaddins | |
parent | 92ba4bc561293cc29e4e92bc3791dd9db1da6b9c (diff) |
cppcheck: useInitializationList
Change-Id: I10b2985f615e1943f56aed086739258c43ede985
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 30b5121cc665..4eed2caeebb7 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -2159,19 +2159,18 @@ void ComplexList::Append( const uno::Sequence< uno::Any >& aMultPars, ComplListA } } - -ConvertData::ConvertData( const sal_Char p[], double fC, ConvertDataClass e, bool bPrefSupport ) : aName( p, strlen( p ), RTL_TEXTENCODING_MS_1252 ) +ConvertData::ConvertData(const sal_Char p[], double fC, ConvertDataClass e, bool bPrefSupport) + : fConst(fC) + , aName(p, strlen(p), RTL_TEXTENCODING_MS_1252) + , eClass(e) + , bPrefixSupport(bPrefSupport) { - fConst = fC; - eClass = e; - bPrefixSupport = bPrefSupport; } ConvertData::~ConvertData() { } - sal_Int16 ConvertData::GetMatchingLevel( const OUString& rRef ) const { OUString aStr = rRef; |