summaryrefslogtreecommitdiff
path: root/vcl/source/window/split.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/split.cxx')
-rw-r--r--vcl/source/window/split.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 6c97de76aa5c..2217797ced8e 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -492,7 +492,7 @@ void Splitter::StartDrag()
else
mnStartSplitPos = maDragPos.Y();
- mbDragFull = (Application::GetSettings().GetStyleSettings().GetDragFullOptions() & DRAGFULL_OPTION_SPLIT) != 0;
+ mbDragFull = bool(Application::GetSettings().GetStyleSettings().GetDragFullOptions() & DragFullOptions::Split);
if ( !mbDragFull )
ImplDrawSplitter();
}