summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-02 12:41:40 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-03 08:20:05 +0200
commite04b97acf2dc410c2e6380abdf23f9a2df792284 (patch)
treeb949e902fb02e00e6c090b8172553f2a020322ba /vcl/source/control
parent35775e291d6570b29dc0120e4839c720152b5149 (diff)
tdf#161853 icon choice ctrl: Drop unused WB_NOASYNCSELECTHDL
That bit is never set, so drop it. Change-Id: Iffa13bd0a679505bdc47bc3fb5d828969ac9eb1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169878 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/imivctl1.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index 9cc1e385fd2e..5082e298fa15 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -2439,9 +2439,7 @@ void SvxIconChoiceCtrl_Impl::CallSelectHandler()
// missing calls to Select if the object is selected from a mouse movement,
// because when starting the timer, the mouse cursor might have already left
// the object.
- // In special cases (=>SfxFileDialog!), synchronous calls can be forced via
- // WB_NOASYNCSELECTHDL.
- if( nWinBits & (WB_NOASYNCSELECTHDL | WB_HIGHLIGHTFRAME) )
+ if( nWinBits & WB_HIGHLIGHTFRAME )
{
pHdlEntry = nullptr;
pView->ClickIcon();