summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-01 13:19:18 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-02 09:59:33 +0200
commit3c9822d36e1f03be604491961be9f7c3981c2704 (patch)
tree895efc6172614b6b01c3d7b7ad58b9e63a432f3d /vcl/source/control
parentd3c82ab9255a019229ac9f3bc9429a63fc9d89a6 (diff)
tdf#161853 vcl: Drop unused SvxIconChoiceCtrl_Impl::SetColumn
It's unused since commit b64751ba28fd69fb2a93a21b10a92b68f4dd2097 Date: Fri Apr 26 10:47:00 2024 +0200 tdf#99528 Properly layout vertical tabs without icons Change-Id: I06a877d5ebffef95495cc3e57be088cdc08d71fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169803 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/imivctl.hxx1
-rw-r--r--vcl/source/control/imivctl1.cxx17
2 files changed, 0 insertions, 18 deletions
diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx
index 6154c02d7e28..aedc238cccab 100644
--- a/vcl/source/control/imivctl.hxx
+++ b/vcl/source/control/imivctl.hxx
@@ -398,7 +398,6 @@ public:
void SetPositionMode( SvxIconChoiceCtrlPositionMode );
- void SetColumn( sal_uInt16 nIndex, const SvxIconChoiceCtrlColumnInfo& );
const SvxIconChoiceCtrlColumnInfo* GetColumn( sal_uInt16 nIndex ) const;
void SetEntryHighlightFrame(
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index 9ba600881597..9579784ea818 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -2797,23 +2797,6 @@ bool SvxIconChoiceCtrl_Impl::RequestHelp( const HelpEvent& rHEvt )
return true;
}
-void SvxIconChoiceCtrl_Impl::SetColumn( sal_uInt16 nIndex, const SvxIconChoiceCtrlColumnInfo& rInfo)
-{
- if (!m_pColumns)
- m_pColumns.reset(new SvxIconChoiceCtrlColumnInfoMap);
-
- SvxIconChoiceCtrlColumnInfo* pInfo = new SvxIconChoiceCtrlColumnInfo( rInfo );
- m_pColumns->insert(std::make_pair(nIndex, std::unique_ptr<SvxIconChoiceCtrlColumnInfo>(pInfo)));
-
- // HACK: Detail mode is not yet fully implemented, this workaround makes it
- // fly with a single column
- if( !nIndex && (nWinBits & WB_DETAILS) )
- nGridDX = pInfo->GetWidth();
-
- if( GetUpdateMode() )
- Arrange( IsAutoArrange(), 0, 0 );
-}
-
const SvxIconChoiceCtrlColumnInfo* SvxIconChoiceCtrl_Impl::GetColumn( sal_uInt16 nIndex ) const
{
if (!m_pColumns)