diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-14 11:27:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-14 10:21:55 +0000 |
commit | 06ea347b939895d3091ce747c26de58f4d4a766a (patch) | |
tree | e93a25d2aadc36c263a8ccd8b593449b37fb8b6b /include/svtools/valueset.hxx | |
parent | 9be8c4f21200aeec5b334d9536b3b7a0b72c24fa (diff) |
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c
Reviewed-on: https://gerrit.libreoffice.org/17032
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/valueset.hxx')
-rw-r--r-- | include/svtools/valueset.hxx | 51 |
1 files changed, 10 insertions, 41 deletions
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 8c2cd2aa5106..7b4684c06e6e 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -320,42 +320,27 @@ public: size_t GetItemCount() const; size_t GetItemPos( sal_uInt16 nItemId ) const; - sal_uInt16 GetItemId( size_t nPos ) const; - sal_uInt16 GetItemId( const Point& rPos ) const; + sal_uInt16 GetItemId( size_t nPos ) const; + sal_uInt16 GetItemId( const Point& rPos ) const; Rectangle GetItemRect( sal_uInt16 nItemId ) const; - void EnableFullItemMode( bool bFullMode = true ); - bool IsFullItemModeEnabled() const - { - return mbFullMode; - } + void SetColCount( sal_uInt16 nNewCols = 1 ); - sal_uInt16 GetColCount() const + sal_uInt16 GetColCount() const { return mnUserCols; } void SetLineCount( sal_uInt16 nNewLines = 0 ); - sal_uInt16 GetLineCount() const + sal_uInt16 GetLineCount() const { return mnUserVisLines; } - void SetItemWidth( long nItemWidth = 0 ); - long GetItemWidth() const - { - return mnUserItemWidth; - } - void SetItemHeight( long nLineHeight = 0 ); - long GetItemHeight() const - { - return mnUserItemHeight; - } - sal_uInt16 GetFirstLine() const - { - return mnFirstLine; - } + void SetItemWidth( long nItemWidth = 0 ); - void SelectItem( sal_uInt16 nItemId ); - sal_uInt16 GetSelectItemId() const + void SetItemHeight( long nLineHeight = 0 ); + + void SelectItem( sal_uInt16 nItemId ); + sal_uInt16 GetSelectItemId() const { return mnSelItemId; } @@ -382,20 +367,12 @@ public: { SetColor(Color(COL_TRANSPARENT)); } - Color GetColor() const - { - return maColor; - } bool IsColor() const { return maColor.GetTransparency() == 0; } void SetExtraSpacing( sal_uInt16 nNewSpacing ); - sal_uInt16 GetExtraSpacing() - { - return mnSpacing; - } void Format(vcl::RenderContext& rRenderContext); void SetFormat(bool bFormat = true); @@ -413,18 +390,10 @@ public: { maSelectHdl = rLink; } - const Link<>& GetSelectHdl() const - { - return maSelectHdl; - } void SetDoubleClickHdl(const Link<>& rLink) { maDoubleClickHdl = rLink; } - const Link<>& GetDoubleClickHdl() const - { - return maDoubleClickHdl; - } void SetHighlightHdl(const Link<>& rLink); |