[LyX/master] Fix indentation

Juergen Spitzmueller spitz at lyx.org
Sun Mar 22 08:51:04 UTC 2020


commit 3f364864d42227e2416302457e10e18debc74a3b
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Mar 22 10:10:36 2020 +0100

    Fix indentation
---
 src/support/qstring_helpers.cpp |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/support/qstring_helpers.cpp b/src/support/qstring_helpers.cpp
index 7e339de..8c47b7a 100644
--- a/src/support/qstring_helpers.cpp
+++ b/src/support/qstring_helpers.cpp
@@ -71,15 +71,15 @@ std::string fromqstr(QString const & str)
 
 QString charFilterRegExp(QString const & filter)
 {
-    QString re = ".*";
-    for (int i = 0; i < filter.length(); ++i) {
-        QChar c = filter[i];
-        if (c.isLower())
-            re +=  "["+ QRegExp::escape(c) + QRegExp::escape(c.toUpper()) + "]";
-        else
-            re +=  QRegExp::escape(c);
-    }
-    return re;
+	QString re = ".*";
+	for (int i = 0; i < filter.length(); ++i) {
+		QChar c = filter[i];
+		if (c.isLower())
+			re +=  "["+ QRegExp::escape(c) + QRegExp::escape(c.toUpper()) + "]";
+		else
+			re +=  QRegExp::escape(c);
+	}
+	return re;
 }
 
 QString charFilterRegExpC(QString const & filter)


More information about the lyx-cvs mailing list