From 6c530e12156ea9b0d4ff3ab17e1b069cb07a4207 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 28 Feb 2022 08:04:55 +0100 Subject: [PATCH] Still more indentation fixes. --- src/Buffer.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 0a1f851e6f..d3dbc86bee 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2132,7 +2132,7 @@ Buffer::ExportStatus Buffer::writeDocBookSource(odocstream & os, bool const output_preamble = output == FullSource || output == OnlyPreamble; bool const output_body = - output == FullSource || output == OnlyBody || output == IncludedFile; + output == FullSource || output == OnlyBody || output == IncludedFile; if (output_preamble) { // XML preamble, no doctype needed. @@ -2146,13 +2146,13 @@ Buffer::ExportStatus Buffer::writeDocBookSource(odocstream & os, // Prepare the name space declaration for MathML depending on document preferences. string mathmlNamespace; if (params().docbook_mathml_prefix != BufferParams::NoPrefix) { - string mathmlPrefix; - if (params().docbook_mathml_prefix == BufferParams::MPrefix) - mathmlPrefix = "m"; - else if (params().docbook_mathml_prefix == BufferParams::MMLPrefix) - mathmlPrefix = "mml"; + string mathmlPrefix; + if (params().docbook_mathml_prefix == BufferParams::MPrefix) + mathmlPrefix = "m"; + else if (params().docbook_mathml_prefix == BufferParams::MMLPrefix) + mathmlPrefix = "mml"; mathmlNamespace = + " xmlns:" + mathmlPrefix + "=\"http://www.w3.org/1998/Math/MathML\""; - } + } // Directly output the root tag, based on the current type of document. string languageCode = params().language->code();