diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-03-01 13:43:33 (GMT) |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-03-02 09:59:16 (GMT) |
commit | b49eaedbe81011483ce52af71e9ebf29c61cef43 (patch) | |
tree | 81a00b977b1eb7b12ce2dc3775e05bb6cf9bbce7 /src/gui/text/qsyntaxhighlighter.cpp | |
parent | 24c5bc6c0c5c23d808f055dabefd15a551cb0902 (diff) | |
download | Qt-b49eaedbe81011483ce52af71e9ebf29c61cef43.zip Qt-b49eaedbe81011483ce52af71e9ebf29c61cef43.tar.gz Qt-b49eaedbe81011483ce52af71e9ebf29c61cef43.tar.bz2 |
remove unused code
Merge-request: 481
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Diffstat (limited to 'src/gui/text/qsyntaxhighlighter.cpp')
-rw-r--r-- | src/gui/text/qsyntaxhighlighter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/text/qsyntaxhighlighter.cpp b/src/gui/text/qsyntaxhighlighter.cpp index 02dabbb..1dc8e23 100644 --- a/src/gui/text/qsyntaxhighlighter.cpp +++ b/src/gui/text/qsyntaxhighlighter.cpp @@ -203,7 +203,6 @@ void QSyntaxHighlighterPrivate::reformatBlock(const QTextBlock &block) Q_ASSERT_X(!currentBlock.isValid(), "QSyntaxHighlighter::reformatBlock()", "reFormatBlock() called recursively"); currentBlock = block; - QTextBlock previous = block.previous(); formatChanges.fill(QTextCharFormat(), block.length() - 1); q->highlightBlock(block.text()); |