diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 10:06:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 06:11:51 +0000 |
commit | e7324c5705eaa38a2c9aa0636f01a73f033ba4d6 (patch) | |
tree | e527e81c249467a7223b603a02bc6fe31ac0b111 /scaddins | |
parent | 0d2797fdb06f504e7213b3859a53c363f4f56bc9 (diff) |
loplugin:expandablemethodds in scaddins..sdext
Change-Id: Ife021e368efaafe9097750b4ca1a5472e94352a9
Reviewed-on: https://gerrit.libreoffice.org/30054
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 2 | ||||
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index a0e25b8d713a..80c2736e0c9e 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -2182,7 +2182,7 @@ sal_Int16 ConvertData::GetMatchingLevel( const OUString& rRef ) const const sal_Unicode* p = aStr.getStr(); nLen = aStr.getLength(); - bool bPref = IsPrefixSupport(); + bool bPref = bPrefixSupport; bool bOneChar = (bPref && nLen > 1 && (aName == p + 1)); if (bOneChar || (bPref && nLen > 2 && (aName == p + 2) && *p == 'd' && *(p+1) == 'a')) diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 190da12d3779..6fe803897f12 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -473,7 +473,6 @@ public: virtual double ConvertFromBase( double fVal, sal_Int16 nMatchLevel ) const; inline ConvertDataClass Class() const; - inline bool IsPrefixSupport() const; }; class ConvertDataLinear : public ConvertData @@ -659,11 +658,6 @@ inline ConvertDataClass ConvertData::Class() const return eClass; } -inline bool ConvertData::IsPrefixSupport() const -{ - return bPrefixSupport; -} - inline ConvertDataLinear::ConvertDataLinear( const sal_Char* p, double fC, double fO, ConvertDataClass e, bool bPrefSupport ) : ConvertData( p, fC, e, bPrefSupport ), |