[LyX/master] Fix indentation

Juergen Spitzmueller spitz at lyx.org
Sat Apr 13 08:11:42 UTC 2024


commit cab03f2680a3a569a882a17cc73ade1db4638ca0
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sat Apr 13 10:11:24 2024 +0200

    Fix indentation
---
 src/frontends/qt/GuiDocument.cpp | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index ed20023c93..e020ab92c2 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -4217,24 +4217,24 @@ void GuiDocument::paramsToDialog()
 
 	// LaTeX input encoding: set after the fonts (see below)
 
-    // If the class provides babel or polyglossia, do not allow
-    // to change that
+	// If the class provides babel or polyglossia, do not allow
+	// to change that
 	bool const extern_babel =
 		documentClass().provides("babel");
-    bool const extern_polyglossia =
+	bool const extern_polyglossia =
 		documentClass().provides("polyglossia");
 
 	int p = -1;
 	if (extern_babel)
-	    p = langModule->languagePackageCO->findData(toqstr("babel"));
+		p = langModule->languagePackageCO->findData(toqstr("babel"));
 	else if (extern_polyglossia)
-	    p = langModule->languagePackageCO->findData(toqstr("polyglossia"));
+		p = langModule->languagePackageCO->findData(toqstr("polyglossia"));
 	else
-	    p = langModule->languagePackageCO->findData(toqstr(bp_.lang_package));
+		p = langModule->languagePackageCO->findData(toqstr(bp_.lang_package));
 
 	if (p == -1) {
 		langModule->languagePackageCO->setCurrentIndex(
-			  langModule->languagePackageCO->findData("custom"));
+			langModule->languagePackageCO->findData("custom"));
 		langModule->languagePackageLE->setText(toqstr(bp_.lang_package));
 	} else {
 		langModule->languagePackageCO->setCurrentIndex(p);


More information about the lyx-cvs mailing list