diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:16 +0200 |
| commit | ec049c7c32d50faf317b13d5c844a19978881fc3 (patch) | |
| tree | ca9b445d4cba887b9161fddd3ba714e1d7b5060b /kdevdesigner/designer/syntaxhighlighter_html.cpp | |
| parent | 1c082a5ba751ddd4edd36bb0061462f9a999f88d (diff) | |
| download | tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.tar.gz tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.zip | |
Remove additional unneeded tq method conversions
(cherry picked from commit 7e66d7c3611d907ea28b140281b472bb1c406be6)
Diffstat (limited to 'kdevdesigner/designer/syntaxhighlighter_html.cpp')
| -rw-r--r-- | kdevdesigner/designer/syntaxhighlighter_html.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/designer/syntaxhighlighter_html.cpp b/kdevdesigner/designer/syntaxhighlighter_html.cpp index baa6a9f5..5bb681f9 100644 --- a/kdevdesigner/designer/syntaxhighlighter_html.cpp +++ b/kdevdesigner/designer/syntaxhighlighter_html.cpp @@ -46,7 +46,7 @@ SyntaxHighlighter_HTML::~SyntaxHighlighter_HTML() { } -void SyntaxHighlighter_HTML::process( TQTextDocument *doc, TQTextParagraph *string, int, bool tqinvalidate ) +void SyntaxHighlighter_HTML::process( TQTextDocument *doc, TQTextParagraph *string, int, bool invalidate ) { TQTextFormat *formatStandard = format( Standard ); @@ -131,7 +131,7 @@ void SyntaxHighlighter_HTML::process( TQTextDocument *doc, TQTextParagraph *stri string->setEndState( state ); string->setFirstPreProcess( FALSE ); - if ( tqinvalidate && string->next() && + if ( invalidate && string->next() && !string->next()->firstPreProcess() && string->next()->endState() != -1 ) { TQTextParagraph *p = string->next(); while ( p ) { |
