diff options
Diffstat (limited to 'svtools/source/edit/editsyntaxhighlighter.cxx')
-rw-r--r-- | svtools/source/edit/editsyntaxhighlighter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx index 1410921320f7..8b8bbb6228fa 100644 --- a/svtools/source/edit/editsyntaxhighlighter.cxx +++ b/svtools/source/edit/editsyntaxhighlighter.cxx @@ -115,7 +115,7 @@ void MultiLineEditSyntaxHighlight::DoBracketHilight(sal_uInt16 nKey) bool MultiLineEditSyntaxHighlight::PreNotify( NotifyEvent& rNEvt ) { - if ( mbDoBracketHilight && (rNEvt.GetType() == EVENT_KEYINPUT) ) + if ( mbDoBracketHilight && (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT) ) DoBracketHilight(rNEvt.GetKeyEvent()->GetCharCode()); return MultiLineEdit::PreNotify(rNEvt); |