summaryrefslogtreecommitdiff
path: root/include/svtools
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 /include/svtools
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 'include/svtools')
-rw-r--r--include/svtools/ctrlbox.hxx9
-rw-r--r--include/svtools/valueset.hxx6
2 files changed, 0 insertions, 15 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index c1cc78eb7e9f..f3ce987ef6aa 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -220,12 +220,10 @@ public:
sal_Int32 GetEntryPos( SvxBorderLineStyle nStyle ) const;
SvxBorderLineStyle GetEntryStyle( sal_Int32 nPos ) const;
- void SelectEntry( SvxBorderLineStyle nStyle, bool bSelect = true );
SvxBorderLineStyle GetSelectEntryStyle() const;
void SetSourceUnit( FieldUnit eNewUnit ) { eSourceUnit = eNewUnit; }
- void SetColor( const Color& rColor );
const Color& GetColor() const { return aColor; }
private:
@@ -258,13 +256,6 @@ private:
FieldUnit eSourceUnit;
};
-inline void LineListBox::SetColor( const Color& rColor )
-{
- aColor = rColor;
-
- UpdateEntries( m_nWidth );
-}
-
const Color& LineListBox::GetPaintColor() const
{
return maPaintCol;
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index f9499d2d0398..5c06a0aac22e 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -311,8 +311,6 @@ public:
const OUString& rStr);
/// Insert an User Drawn item.
void InsertItem(sal_uInt16 nItemId, size_t nPos = VALUESET_APPEND);
- /// Insert an User Drawn item with @rStr tooltip.
- void InsertItem(sal_uInt16 nItemId, const OUString& rStr, size_t nPos);
void RemoveItem(sal_uInt16 nItemId);
void Clear();
@@ -344,10 +342,6 @@ public:
{
return mnSelItemId;
}
- size_t GetSelectItemPos() const
- {
- return GetItemPos( mnSelItemId );
- }
bool IsItemSelected( sal_uInt16 nItemId ) const
{
return !mbNoSelection && (nItemId == mnSelItemId);