diff options
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/BasCodeTagger.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/helpcompiler/source/BasCodeTagger.cxx b/helpcompiler/source/BasCodeTagger.cxx index 8af743e1b5f7..369c49c389d5 100644 --- a/helpcompiler/source/BasCodeTagger.cxx +++ b/helpcompiler/source/BasCodeTagger.cxx @@ -52,12 +52,11 @@ bool LibXmlTreeWalker::end() const BasicCodeTagger::BasicCodeTagger( xmlDocPtr rootDoc ): m_Highlighter(HighlighterLanguage::Basic) { - if ( rootDoc == nullptr ) - throw NULL_DOCUMENT; - m_pDocument = rootDoc; + if ( rootDoc == nullptr ) + throw NULL_DOCUMENT; + m_pDocument = rootDoc; m_pXmlTreeWalker = nullptr; m_bTaggingCompleted = false; - } BasicCodeTagger::~BasicCodeTagger() @@ -69,7 +68,7 @@ BasicCodeTagger::~BasicCodeTagger() */ void BasicCodeTagger::getBasicCodeContainerNodes() { - xmlNodePtr currentNode; + xmlNodePtr currentNode; m_BasicCodeContainerTags.clear(); @@ -163,7 +162,7 @@ void BasicCodeTagger::tagParagraph( xmlNodePtr paragraph ) */ void BasicCodeTagger::tagBasicCodes() { - if ( m_bTaggingCompleted ) + if ( m_bTaggingCompleted ) return; //gather <bascode> nodes try |