aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/qtlockedfile
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-02-25 15:27:13 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-02-25 15:28:01 +0100
commit88f333267f466bf579a2d75f15f4f766a681735b (patch)
tree88b3b395b5ec0833febdb7ba57c33f9b19f5a165 /src/shared/qtlockedfile
parent49311aa3621be7bd716a04bfadd195d4655849b2 (diff)
Fix Krazy code scanning tool warnings (QString, loops, spelling).
Diffstat (limited to 'src/shared/qtlockedfile')
-rw-r--r--src/shared/qtlockedfile/qtlockedfile_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/qtlockedfile/qtlockedfile_win.cpp b/src/shared/qtlockedfile/qtlockedfile_win.cpp
index 7c4b53af73..20d2bc60c1 100644
--- a/src/shared/qtlockedfile/qtlockedfile_win.cpp
+++ b/src/shared/qtlockedfile/qtlockedfile_win.cpp
@@ -53,7 +53,7 @@ static QString errorCodeToString(DWORD errorCode)
if (data != 0)
LocalFree(data);
- if (result.endsWith("\n"))
+ if (result.endsWith('\n'))
result.truncate(result.length() - 1);
return result;