summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-02 11:01:41 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-03 08:19:07 +0200
commit65013d5d0d5c5348d51b037fb6719fd25ddedda4 (patch)
tree41d0d9397500e160cf4bdcea34b721dcc689c2b7 /vcl/source/control
parent2456746bc20796c20d23498967e0b3a976decc54 (diff)
tdf#161853 icon choice control: Drop WB_NOSELECTION
It's never set, so drop it, also to prepare for further cleanup in upcoming commits. Change-Id: Id1751b68e3666130a69b981f9095303115d30caa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169871 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/imivctl1.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index e9dbc5690a56..a21d1e83f690 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -152,8 +152,6 @@ void SvxIconChoiceCtrl_Impl::SetStyle( WinBits nWinStyle )
nCurTextDrawFlags = DRAWTEXT_FLAGS_ICON;
if( nWinBits & (WB_SMALLICON | WB_DETAILS) )
nCurTextDrawFlags = DRAWTEXT_FLAGS_SMALLICON;
- if( nWinBits & WB_NOSELECTION )
- eSelectionMode = SelectionMode::NONE;
if( !(nWinStyle & (WB_ALIGN_TOP | WB_ALIGN_LEFT)))
nWinBits |= WB_ALIGN_LEFT;
}