diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:17:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-09 17:07:29 +0100 |
commit | de8c193833a7c60826015ecaed13d9fb3d1e0aba (patch) | |
tree | d057f3c759ab8ccd917038f6ef30b22b8a5d293b /helpcompiler | |
parent | cfadf87cf51e0681d5fc4059a973ed1630a8203f (diff) |
loplugin:indentation in helpcompiler..io
Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620
Reviewed-on: https://gerrit.libreoffice.org/67558
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'helpcompiler')
-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 |