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 --- include/comphelper/syntaxhighlight.hxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/comphelper/syntaxhighlight.hxx') diff --git a/include/comphelper/syntaxhighlight.hxx b/include/comphelper/syntaxhighlight.hxx index 8a5782273af3..ec0bf7c01e41 100644 --- a/include/comphelper/syntaxhighlight.hxx +++ b/include/comphelper/syntaxhighlight.hxx @@ -66,11 +66,6 @@ enum HighlighterLanguage HIGHLIGHT_SQL }; -//*** SyntaxHighlighter Class *** -// Concept: the Highlighter will be notified of all changes in the source -// (notifyChange) and returns the caller the range of lines, which based on the -// changes, need to be highlighted again. For this the Highlighter marks all -// lines internally whether or not C comments begin or end. class COMPHELPER_DLLPUBLIC SyntaxHighlighter: private boost::noncopyable { class Tokenizer; @@ -82,8 +77,6 @@ public: SyntaxHighlighter(HighlighterLanguage language); ~SyntaxHighlighter(); - void notifyChange(const OUString* pChangedLines, sal_uInt32 nArrayLength); - void getHighlightPortions( const OUString& rLine, std::vector& pPortions ); -- cgit