diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
commit | 7e66d7c3611d907ea28b140281b472bb1c406be6 (patch) | |
tree | d0512bf457c2bfe012f455b42ab78651afb81438 /kdevdesigner/designer/syntaxhighlighter_html.cpp | |
parent | c3b301575a98e4c3505ad95534d6192b65539dab (diff) | |
download | tdevelop-7e66d7c3611d907ea28b140281b472bb1c406be6.tar.gz tdevelop-7e66d7c3611d907ea28b140281b472bb1c406be6.zip |
Remove additional unneeded tq method conversions
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 ) { |