summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-28 11:27:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-29 14:37:12 +0200
commit17c936bca548acc93d6b2e70593bc711c0e6b8a4 (patch)
treeaf43f36650ea199297988d705903d32501452605 /comphelper
parentd4992bb36efb15da91a70e86e68a80f13b97e947 (diff)
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.cxx4
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,