From 176ac1e61610579ba8ac202c16d7aa0c0991af89 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 28 Oct 2013 12:51:52 +0100 Subject: Remove unnecessary SyntaxHighlighter::Tokenizer statefulness ...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it. Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e --- svtools/source/edit/editsyntaxhighlighter.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'svtools/source/edit/editsyntaxhighlighter.cxx') 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 aPortions; aHighlighter.getHighlightPortions( aLine, aPortions ); -- cgit