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 /basctl | |
parent | c99267b326afcfd4002dc5ee33f5076a466c0cab (diff) |
Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it.
Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 1b3ad3f7be54..d9316feccb6e 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1189,8 +1189,6 @@ void EditorWindow::ImpDoHighlight( sal_uLong nLine ) if ( bDoSyntaxHighlight ) { OUString aLine( pEditEngine->GetText( nLine ) ); - aHighlighter.notifyChange( &aLine, 1 ); - bool const bWasModified = pEditEngine->IsModified(); pEditEngine->RemoveAttribs( nLine, true ); std::vector<HighlightPortion> aPortions; @@ -1326,12 +1324,6 @@ void EditorWindow::ParagraphInsertedDeleted( sal_uLong nPara, bool bInserted ) GetOutputSizePixel().Height() - 2 * DWBORDER); rModulWindow.GetLineNumberWindow().SetPosSizePixel(Point(DWBORDER + 19, DWBORDER), aLnSz); rModulWindow.GetLineNumberWindow().Invalidate(); - - if ( bDoSyntaxHighlight ) - { - OUString aDummy; - aHighlighter.notifyChange( &aDummy, 1 ); - } } } |