summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-30 14:49:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-30 20:40:08 +0100
commita91855165dc7c119166b05c038d238f59c8c1281 (patch)
tree54c2dc971a098d8a2d530a887889996b3deed3b3 /svtools
parent4aa1d8a2d56028c0b08c832dcd5f0adf3f72e38f (diff)
loplugin:unusedmethods
Change-Id: Icab9a4789b0bb9187ad5393a2b8578fc4c5e401f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87736 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx39
1 files changed, 0 insertions, 39 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index dce387faf942..e6c39c91e54c 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1496,15 +1496,6 @@ void ValueSet::Select()
maSelectHdl.Call( this );
}
-void ValueSet::InsertItem( sal_uInt16 nItemId, const Image& rImage )
-{
- std::unique_ptr<ValueSetItem> pItem(new ValueSetItem( *this ));
- pItem->mnId = nItemId;
- pItem->meType = VALUESETITEM_IMAGE;
- pItem->maImage = rImage;
- ImplInsertItem( std::move(pItem), VALUESET_APPEND );
-}
-
void ValueSet::InsertItem( sal_uInt16 nItemId, const Image& rImage,
const OUString& rText, size_t nPos,
bool bShowLegend )
@@ -1657,11 +1648,6 @@ tools::Rectangle ValueSet::GetItemRect( sal_uInt16 nItemId ) const
return tools::Rectangle();
}
-void ValueSet::EnableFullItemMode( bool bFullMode )
-{
- mbFullMode = bFullMode;
-}
-
void ValueSet::SetColCount( sal_uInt16 nNewCols )
{
if ( mnUserCols != nNewCols )
@@ -1853,26 +1839,6 @@ Image ValueSet::GetItemImage( sal_uInt16 nItemId ) const
return Image();
}
-void ValueSet::SetItemColor( sal_uInt16 nItemId, const Color& rColor )
-{
- size_t nPos = GetItemPos( nItemId );
-
- if ( nPos == VALUESET_ITEM_NOTFOUND )
- return;
-
- ValueSetItem* pItem = mItemList[nPos].get();
- pItem->meType = VALUESETITEM_COLOR;
- pItem->maColor = rColor;
-
- if ( !mbFormat && IsReallyVisible() && IsUpdateMode() )
- {
- const tools::Rectangle aRect = ImplGetItemRect(nPos);
- Invalidate( aRect );
- }
- else
- mbFormat = true;
-}
-
Color ValueSet::GetItemColor( sal_uInt16 nItemId ) const
{
size_t nPos = GetItemPos( nItemId );
@@ -2113,11 +2079,6 @@ long ValueSet::GetScrollWidth() const
return 0;
}
-void ValueSet::SetHighlightHdl( const Link<ValueSet*,void>& rLink )
-{
- maHighlightHdl = rLink;
-}
-
Size ValueSet::GetLargestItemSize()
{
Size aLargestItem;