diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-28 12:30:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-28 13:48:14 +0100 |
commit | c99267b326afcfd4002dc5ee33f5076a466c0cab (patch) | |
tree | 6b160f1ce1c505ede71424f069aca608438a2b6d /helpcompiler | |
parent | 6aa24e7565dfa5feafd12cd0ec12312df044916e (diff) |
Fold SyntaxHighlighter::initialize into ctor
...which reveals that m_pKeyWords, m_nKeyWordCount members are unused.
Change-Id: I55020e892d463f2e40d5bcf71efba92778b317c1
Diffstat (limited to 'helpcompiler')
-rw-r--r-- | helpcompiler/source/BasCodeTagger.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/source/BasCodeTagger.cxx b/helpcompiler/source/BasCodeTagger.cxx index 782bcdc3ec6a..a01c6b62d934 100644 --- a/helpcompiler/source/BasCodeTagger.cxx +++ b/helpcompiler/source/BasCodeTagger.cxx @@ -55,13 +55,13 @@ xmlNodePtr LibXmlTreeWalker::currentNode() //====================================================== -BasicCodeTagger::BasicCodeTagger( xmlDocPtr rootDoc ) +BasicCodeTagger::BasicCodeTagger( xmlDocPtr rootDoc ): + m_Highlighter(HIGHLIGHT_BASIC) { if ( rootDoc == NULL ) throw NULL_DOCUMENT; m_pDocument = rootDoc; m_pXmlTreeWalker = NULL; - m_Highlighter.initialize( HIGHLIGHT_BASIC ); m_bTaggingCompleted = false; } |