From 4d78fe59577ab1f0aee03b4fe38bb76cdfec41be Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 2 Aug 2020 17:17:25 +0200 Subject: [PATCH] Slight code-consistency improvements. --- src/output_docbook.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp index 2199239f89..5b788f3278 100644 --- a/src/output_docbook.cpp +++ b/src/output_docbook.cpp @@ -189,7 +189,7 @@ namespace { // convenience functions -void openParTag(XMLStream &xs, Layout const &lay) +void openParTag(XMLStream & xs, Layout const & lay) { if (lay.docbookwrappertag() != "NONE") { xs << xml::StartTag(lay.docbookwrappertag(), lay.docbookwrapperattr()); @@ -203,7 +203,7 @@ void openParTag(XMLStream &xs, Layout const &lay) } -void closeTag(XMLStream &xs, Layout const &lay) +void closeTag(XMLStream & xs, Layout const & lay) { string tag = lay.docbooktag(); if (tag == "Plain Layout") @@ -228,14 +228,14 @@ void closeLabelTag(XMLStream & xs, Layout const & lay) } -void openItemTag(XMLStream &xs, Layout const &lay) +void openItemTag(XMLStream & xs, Layout const & lay) { xs << xml::StartTag(lay.docbookitemtag(), lay.docbookitemattr()); } // Return true when new elements are output in a paragraph, false otherwise. -bool openInnerItemTag(XMLStream &xs, Layout const &lay) +bool openInnerItemTag(XMLStream & xs, Layout const & lay) { if (lay.docbookiteminnertag() != "NONE") { xs << xml::CR(); @@ -249,7 +249,7 @@ bool openInnerItemTag(XMLStream &xs, Layout const &lay) } -void closeInnerItemTag(XMLStream &xs, Layout const &lay) +void closeInnerItemTag(XMLStream & xs, Layout const & lay) { if (lay.docbookiteminnertag()!= "NONE") { xs << xml::EndTag(lay.docbookiteminnertag()); @@ -258,7 +258,7 @@ void closeInnerItemTag(XMLStream &xs, Layout const &lay) } -inline void closeItemTag(XMLStream &xs, Layout const &lay) +inline void closeItemTag(XMLStream & xs, Layout const & lay) { xs << xml::EndTag(lay.docbookitemtag()); xs << xml::CR();