diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-28 11:27:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-29 14:37:12 +0200 |
commit | 17c936bca548acc93d6b2e70593bc711c0e6b8a4 (patch) | |
tree | af43f36650ea199297988d705903d32501452605 /comphelper | |
parent | Change SFErrCodes to scoped enum (diff) | |
download | core-17c936bca548acc93d6b2e70593bc711c0e6b8a4.tar.gz core-17c936bca548acc93d6b2e70593bc711c0e6b8a4.zip |
loplugin:unusedfields-in-constructor in various
Change-Id: Ie0fb647938e3cf730976fb2e435b92bfd67ef645
Reviewed-on: https://gerrit.libreoffice.org/54998
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/syntaxhighlight.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx index c63fdd5bf7d7..76c8dfa862d3 100644 --- a/comphelper/source/misc/syntaxhighlight.cxx +++ b/comphelper/source/misc/syntaxhighlight.cxx @@ -687,9 +687,9 @@ void SyntaxHighlighter::Tokenizer::getHighlightPortions(const OUString& rLine, SyntaxHighlighter::SyntaxHighlighter(HighlighterLanguage language): - eLanguage(language), m_tokenizer(new SyntaxHighlighter::Tokenizer(language)) + m_tokenizer(new SyntaxHighlighter::Tokenizer(language)) { - switch (eLanguage) + switch (language) { case HighlighterLanguage::Basic: m_tokenizer->setKeyWords( strListBasicKeyWords, |