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 --- helpcompiler/source/BasCodeTagger.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'helpcompiler/source/BasCodeTagger.cxx') diff --git a/helpcompiler/source/BasCodeTagger.cxx b/helpcompiler/source/BasCodeTagger.cxx index a01c6b62d934..fcbe8e45cf01 100644 --- a/helpcompiler/source/BasCodeTagger.cxx +++ b/helpcompiler/source/BasCodeTagger.cxx @@ -149,7 +149,6 @@ void BasicCodeTagger::tagParagraph( xmlNodePtr paragraph ) OUString strLine( reinterpret_cast(codeSnippet), strlen(reinterpret_cast(codeSnippet)), RTL_TEXTENCODING_UTF8 ); - m_Highlighter.notifyChange ( &strLine, 1 ); std::vector portions; m_Highlighter.getHighlightPortions( strLine, portions ); for (std::vector::iterator i(portions.begin()); -- cgit v1.2.3