[LyX/master] Still more indentation fixes.

Juergen Spitzmueller spitz at lyx.org
Mon Feb 28 06:31:34 UTC 2022


commit 6c530e12156ea9b0d4ff3ab17e1b069cb07a4207
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Feb 28 08:04:55 2022 +0100

    Still more indentation fixes.
---
 src/Buffer.cpp |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 0a1f851..d3dbc86 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();


More information about the lyx-cvs mailing list