From de8c193833a7c60826015ecaed13d9fb3d1e0aba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Feb 2019 13:17:50 +0200 Subject: loplugin:indentation in helpcompiler..io Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620 Reviewed-on: https://gerrit.libreoffice.org/67558 Tested-by: Jenkins Reviewed-by: Noel Grandin --- helpcompiler/source/BasCodeTagger.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'helpcompiler/source') 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 nodes try -- cgit