summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx19
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)