diff options
-rw-r--r-- | compilerplugins/clang/unusedenumconstants.readonly.results | 2 | ||||
-rw-r--r-- | include/vcl/window.hxx | 3 | ||||
-rw-r--r-- | vcl/source/window/window2.cxx | 1 |
3 files changed, 1 insertions, 5 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.readonly.results b/compilerplugins/clang/unusedenumconstants.readonly.results index 978c17c2454f..5e7a1dd16a29 100644 --- a/compilerplugins/clang/unusedenumconstants.readonly.results +++ b/compilerplugins/clang/unusedenumconstants.readonly.results @@ -1094,8 +1094,6 @@ include/vcl/wall.hxx:43 enum WallpaperStyle BottomLeft include/vcl/wall.hxx:44 enum WallpaperStyle Bottom -include/vcl/window.hxx:121 - enum TrackingEventFlags DontCallHdl include/xmloff/shapeexport.hxx:53 enum XMLShapeExportFlags WIDTH include/xmloff/shapeexport.hxx:54 diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 8afd84688523..60389e836aa9 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -118,11 +118,10 @@ enum class TrackingEventFlags Focus = 0x0004, Repeat = 0x0100, End = 0x1000, - DontCallHdl = 0x8000, }; namespace o3tl { - template<> struct typed_flags<TrackingEventFlags> : is_typed_flags<TrackingEventFlags, 0x9107> {}; + template<> struct typed_flags<TrackingEventFlags> : is_typed_flags<TrackingEventFlags, 0x1107> {}; } diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 922b4b4ab161..877c66bdee05 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -296,7 +296,6 @@ void Window::EndTracking( TrackingEventFlags nFlags ) } // call EndTracking if required - if ( !(nFlags & TrackingEventFlags::DontCallHdl) ) { Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); if( ImplIsAntiparallel() ) |