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 /include | |
parent | c99267b326afcfd4002dc5ee33f5076a466c0cab (diff) |
Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it.
Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/syntaxhighlight.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
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<HighlightPortion>& pPortions ); |