[LyX/master] Whitespace

Scott Kostyshak skostysh at lyx.org
Tue Sep 10 12:28:25 UTC 2024


commit 7fb059bce41ce66f29d74bad7865e9c2e9e57546
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Tue Sep 10 14:23:37 2024 +0200

    Whitespace
---
 src/BufferParams.cpp | 8 ++++----
 src/BufferParams.h   | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index a4c020e6e7..e1a31b1a18 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -3532,7 +3532,7 @@ string BufferParams::babelCall(LaTeXFeatures const & features, string lang_opts,
 			os << "\n\\babelprovide[import";
 			if (l == language)
 				os << ", main";
-            if (!babelLangOptions(l->lang(), true).empty())
+			if (!babelLangOptions(l->lang(), true).empty())
 				os << ", " << babelLangOptions(l->lang());
 			os << "]{" << blang << "}";
 			have_mods = true;
@@ -3555,8 +3555,8 @@ string BufferParams::babelCall(LaTeXFeatures const & features, string lang_opts,
 		}
 		if ((bp == 2 && useNonTeXFonts) || have_other_forceprovide) {
 			// Options need to go to \babeprovide
-            // but only those set in document settings
-            if (!babelLangOptions(l->lang(), true).empty())
+			// but only those set in document settings
+			if (!babelLangOptions(l->lang(), true).empty())
 				os << "\n\\babelprovide["
 				   << babelLangOptions(l->lang())
 				   << "]{" << blang << "}";
@@ -4100,7 +4100,7 @@ string const BufferParams::babelLangOptions(string const & lang, bool const only
 {
 	if (lang_options_babel_.find(lang) == lang_options_babel_.end()) {
 		Language const * l = languages.getLanguage(lang);
-        return (l && !onlycust) ? l->babelOpts() : string();
+		return (l && !onlycust) ? l->babelOpts() : string();
 	}
 	return lang_options_babel_.find(lang)->second;
 }
diff --git a/src/BufferParams.h b/src/BufferParams.h
index 1b3393cdb3..4444f31f2b 100644
--- a/src/BufferParams.h
+++ b/src/BufferParams.h
@@ -343,8 +343,8 @@ public:
 	/// babel language options
 	std::map<std::string, std::string> lang_options_babel_;
 	///
-    std::string const babelLangOptions(std::string const & lang,
-                                       bool const onlycust = false) const;
+	std::string const babelLangOptions(std::string const & lang,
+	                                   bool const onlycust = false) const;
 	///
 	void setBabelLangOptions(std::string const & lang, std::string const & opts)
 		{ lang_options_babel_[lang] = opts; }


More information about the lyx-cvs mailing list