summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 14:45:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 13:23:27 +0200
commit569f7a4adefdfce9be82499d8449e808bfad06c6 (patch)
treec737644b65469b07bf4ee539eae2fdab1a6295fe /svx
parentc5a9da1e47dffcf7c15229612bcdd48d7491ce3d (diff)
loplugin:unusedmethods
Change-Id: I0f96c41ab61bd4bfaf6c36d78d0a2ca768da0032 Reviewed-on: https://gerrit.libreoffice.org/60314 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/SvxPresetListBox.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx
index 2dbac4a4d5bd..c66f031e7dc4 100644
--- a/svx/source/tbxctrls/SvxPresetListBox.cxx
+++ b/svx/source/tbxctrls/SvxPresetListBox.cxx
@@ -81,18 +81,6 @@ void SvxPresetListBox::DrawLayout()
SetColCount(getColumnCount());
SetLineCount(5);
}
-template< typename ListType, typename EntryType >
-void SvxPresetListBox::FillPresetListBoxImpl(ListType & pList, sal_uInt32 nStartIndex)
-{
- const Size aSize( GetIconSize() );
- BitmapEx aBitmap;
- for(long nIndex = 0; nIndex < pList.Count(); nIndex++, nStartIndex++)
- {
- aBitmap = pList.GetBitmapForPreview(nIndex, aSize);
- EntryType* pItem = static_cast<EntryType*>( pList.Get(nIndex) );
- InsertItem(nStartIndex, Image(aBitmap), pItem->GetName());
- }
-}
IMPL_LINK(SvxPresetListBox, OnMenuItemSelected, Menu*, pMenu, bool)
{