diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-18 15:49:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-19 06:10:20 +0100 |
commit | f0030353b38dfec4ceedc72d32884dbdde583d1b (patch) | |
tree | 94610459a35cbb17754504b5f53aa8bc3da12dad /svtools/source | |
parent | cfe88f4ab51c9330c0418cbd8b7093db515f9bd5 (diff) |
loplugin:unusedmethods
Change-Id: I5dcba14a9b0dfcc5267760410f6d135fcd3b1bd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142944
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 414c07a8a58c..89029444b292 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1473,25 +1473,6 @@ OUString SvtLineListBox::GetLineStyleName(SvxBorderLineStyle eStyle) return sRet; } -sal_Int32 SvtLineListBox::GetStylePos( sal_Int32 nListPos ) const -{ - sal_Int32 nPos = -1; - --nListPos; - - sal_Int32 n = 0; - size_t i = 0; - size_t nCount = m_vLineList.size(); - while ( nPos == -1 && i < nCount ) - { - if ( nListPos == n ) - nPos = static_cast<sal_Int32>(i); - n++; - i++; - } - - return nPos; -} - void SvtLineListBox::SelectEntry(SvxBorderLineStyle nStyle) { if (nStyle == SvxBorderLineStyle::NONE) |