summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/linenumberwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/linenumberwindow.cxx')
-rw-r--r--basctl/source/basicide/linenumberwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index ff3b3d599c35..14872783f22d 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -78,7 +78,7 @@ void LineNumberWindow::Paint( const Rectangle& )
void LineNumberWindow::DataChanged(DataChangedEvent const & rDCEvt)
{
Window::DataChanged(rDCEvt);
- if (rDCEvt.GetType() == DATACHANGED_SETTINGS
+ if (rDCEvt.GetType() == DataChangedEventType::SETTINGS
&& (rDCEvt.GetFlags() & SETTINGS_STYLE) != 0)
{
Color aColor(GetSettings().GetStyleSettings().GetFieldColor());