summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 09:39:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 14:01:00 +0200
commit7430dfe2a4a3b13ffa248bf14a3a2ca87993f48d (patch)
tree3b9607225ec2df9934b71df223c482ca7a069ff1 /svtools/source
parent3b835b8d546ca16d7edcb06eda017e276383ea0f (diff)
loplugin:unusedmethods
Change-Id: I34009aabf0befb346470b5c0d96ad8fc476b7c4e Reviewed-on: https://gerrit.libreoffice.org/60300 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/ctrlbox.cxx7
-rw-r--r--svtools/source/control/valueset.cxx13
2 files changed, 0 insertions, 20 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 162216ae1cbf..1a10694313bb 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -528,13 +528,6 @@ sal_Int32 LineListBox::GetStylePos( sal_Int32 nListPos, long nWidth )
return nPos;
}
-void LineListBox::SelectEntry( SvxBorderLineStyle nStyle, bool bSelect )
-{
- sal_Int32 nPos = GetEntryPos( nStyle );
- if ( nPos != LISTBOX_ENTRY_NOTFOUND )
- ListBox::SelectEntryPos( nPos, bSelect );
-}
-
void LineListBox::InsertEntry(
const BorderWidthImpl& rWidthImpl, SvxBorderLineStyle nStyle, long nMinWidth,
ColorFunc pColor1Fn, ColorFunc pColor2Fn, ColorDistFunc pColorDistFn )
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index f66bbaca742b..b3d62ef1467d 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1725,19 +1725,6 @@ void ValueSet::SetItemWidth( long nNewItemWidth )
}
}
-//method to set accessible when the style is user draw.
-void ValueSet::InsertItem( sal_uInt16 nItemId, const OUString& rText, size_t nPos )
-{
- DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" );
- DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND,
- "ValueSet::InsertItem(): ItemId already exists" );
- ValueSetItem* pItem = new ValueSetItem( *this );
- pItem->mnId = nItemId;
- pItem->meType = VALUESETITEM_USERDRAW;
- pItem->maText = rText;
- ImplInsertItem( pItem, nPos );
-}
-
void ValueSet::SetItemHeight( long nNewItemHeight )
{
if ( mnUserItemHeight != nNewItemHeight )