diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-28 12:51:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-28 13:48:14 +0100 |
commit | 176ac1e61610579ba8ac202c16d7aa0c0991af89 (patch) | |
tree | 275db2a0ccfd6fb06505d82813040fc5e9aea9b1 /svtools/source/edit | |
parent | c99267b326afcfd4002dc5ee33f5076a466c0cab (diff) |
Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it.
Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
Diffstat (limited to 'svtools/source/edit')
-rw-r--r-- | svtools/source/edit/editsyntaxhighlighter.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx index d679408143ef..68343968643e 100644 --- a/svtools/source/edit/editsyntaxhighlighter.cxx +++ b/svtools/source/edit/editsyntaxhighlighter.cxx @@ -170,8 +170,6 @@ void MultiLineEditSyntaxHighlight::UpdateData() for (unsigned int nLine=0; nLine < GetTextEngine()->GetParagraphCount(); nLine++) { OUString aLine( GetTextEngine()->GetText( nLine ) ); - aHighlighter.notifyChange( &aLine, 1 ); - GetTextEngine()->RemoveAttribs( nLine, sal_True ); std::vector<HighlightPortion> aPortions; aHighlighter.getHighlightPortions( aLine, aPortions ); |