diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-09 06:10:46 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-09 06:10:46 (GMT) |
commit | 4a069e9f1a4ddcb553ee986dbd19891a6d12990a (patch) | |
tree | f88ff9f181ec408cc79deba1b3e17267fae77be9 /src/gui/painting/qpainter.cpp | |
parent | fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a (diff) | |
download | Qt-4a069e9f1a4ddcb553ee986dbd19891a6d12990a.zip Qt-4a069e9f1a4ddcb553ee986dbd19891a6d12990a.tar.gz Qt-4a069e9f1a4ddcb553ee986dbd19891a6d12990a.tar.bz2 |
Fixes for compiler warnings reported by RVCT
Task-number: 241223
Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r-- | src/gui/painting/qpainter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 263e53e..90d79d7 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -7556,7 +7556,6 @@ start_lengthVariant: bool hasMoreLengthVariants = false; // compatible behaviour to the old implementation. Replace // tabs by spaces - bool has_tab = false; int old_offset = offset; for (; offset < text.length(); offset++) { QChar chr = text.at(offset); @@ -7572,7 +7571,6 @@ start_lengthVariant: } else if (!tabarraylen && !tabstops) { tabstops = qRound(fm.width(QLatin1Char('x'))*8); } - has_tab = true; } else if (chr == QChar(ushort(0x9c))) { // string with multiple length variants hasMoreLengthVariants = true; |