summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppchecksymbols.cpp
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-11-26 10:13:04 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2012-11-26 10:16:05 +0100
commit86afe889b089ae20ac36ca9ad3e8f32ff515f3dd (patch)
tree3a2670cd2ff76a3ee359262ca8056de25307ca9f /src/plugins/cpptools/cppchecksymbols.cpp
parentf8645bb6c76667fdd85fc92891ded74faf396927 (diff)
downloadqt-creator-86afe889b089ae20ac36ca9ad3e8f32ff515f3dd.tar.gz
Copile fix after f8645bb6
Change-Id: I3218ee94b414a4188c574bc63c9fa6c6d0d0a490 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppchecksymbols.cpp')
-rw-r--r--src/plugins/cpptools/cppchecksymbols.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppchecksymbols.cpp b/src/plugins/cpptools/cppchecksymbols.cpp
index 6e32d6e83a..54819db467 100644
--- a/src/plugins/cpptools/cppchecksymbols.cpp
+++ b/src/plugins/cpptools/cppchecksymbols.cpp
@@ -1282,9 +1282,9 @@ bool CheckSymbols::maybeAddFunction(const QList<LookupItem> &candidates, NameAST
// Add a diagnostic message if argument count does not match
if (matchType == Match_TooFewArgs)
- warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", length);
+ warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", 0, length));
else if (matchType == Match_TooManyArgs)
- warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", length);
+ warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", 0, length));
const Use use(line, column, length, kind);
addUse(use);