From 9fb6ebd42bc5e2c416ffbc222261cc781c9cc3bc Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Mon, 1 Jul 2024 13:30:15 +0200 Subject: tdf#161853 vcl: Drop unused SvxIconChoiceCtrlColumnInfo Unused since: Change-Id: I113a00d41a40b10df9d4d6dbb71565d462d9f8ae Author: Michael Weghorn Date: Mon Jul 1 13:24:56 2024 +0200 tdf#161853 vcl: Drop unused SvxIconChoiceCtrl_Impl::GetColumn Change-Id: Ie32fcc443323bd2840aa14edefc533b743e1ed75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169825 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- include/vcl/toolkit/ivctrl.hxx | 13 ------------- vcl/source/control/ivctrl.cxx | 6 ------ 2 files changed, 19 deletions(-) diff --git a/include/vcl/toolkit/ivctrl.hxx b/include/vcl/toolkit/ivctrl.hxx index eb0513d44626..dca72871d724 100644 --- a/include/vcl/toolkit/ivctrl.hxx +++ b/include/vcl/toolkit/ivctrl.hxx @@ -125,19 +125,6 @@ public: bool IsPosLocked() const { return bool(nFlags & SvxIconViewFlags::POS_LOCKED); } }; -class SvxIconChoiceCtrlColumnInfo -{ - tools::Long nWidth; - -public: - SvxIconChoiceCtrlColumnInfo() : - nWidth( 100 ) {} - SvxIconChoiceCtrlColumnInfo( const SvxIconChoiceCtrlColumnInfo& ); - - void SetWidth( tools::Long nWd ) { nWidth = nWd; } - tools::Long GetWidth() const { return nWidth; } -}; - /* Window-Bits: diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx index c17a0caf359d..c20ce459487a 100644 --- a/vcl/source/control/ivctrl.cxx +++ b/vcl/source/control/ivctrl.cxx @@ -73,12 +73,6 @@ OUString SvxIconChoiceCtrlEntry::GetDisplayText() const return MnemonicGenerator::EraseAllMnemonicChars( aText ); } - -SvxIconChoiceCtrlColumnInfo::SvxIconChoiceCtrlColumnInfo( const SvxIconChoiceCtrlColumnInfo& rInfo ) -{ - nWidth = rInfo.nWidth; -} - /***************************************************************************** | | class : SvtIconChoiceCtrl -- cgit