diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-13 15:16:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-13 17:56:14 +0200 |
commit | bd537420b07fc82bd9a3eb01f3e5b3b33c21a5cb (patch) | |
tree | d03e7acfa277f07a8d0769e808a019ecc68f32e8 /include/vcl | |
parent | d2cb44507708af41e9ee408c4db08c5bc7b13b43 (diff) |
loplugin:unusedmethods
Change-Id: Id813d95a90fdbb360dfc8670c0b55b635f633965
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94125
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/combobox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/toolbox.hxx | 5 | ||||
-rw-r--r-- | include/vcl/treelistbox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/viewdataentry.hxx | 6 |
4 files changed, 0 insertions, 15 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 4a633b0e9e23..ec38c293a601 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -103,8 +103,6 @@ public: void DrawEntry( const UserDrawEvent& rEvt, bool bDrawText, bool bDrawTextAtImagePos ); void SetBorderStyle( WindowBorderStyle nBorderStyle ); - void SetSeparatorPos( sal_Int32 n ); - /** * Adds a new separator at the given position n. */ diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index efae4d660722..e60fb64296da 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -254,10 +254,6 @@ public: protected: virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; - void SetCurItemId(sal_uInt16 nSet) - { - mnCurItemId = nSet; - } public: ToolBox(vcl::Window* pParent, WinBits nStyle = 0); @@ -458,7 +454,6 @@ public: void SetActivateHdl( const Link<ToolBox *, void>& rLink ) { maActivateHdl = rLink; } void SetDeactivateHdl( const Link<ToolBox *, void>& rLink ) { maDeactivateHdl = rLink; } void SetSelectHdl( const Link<ToolBox *, void>& rLink ) { maSelectHdl = rLink; } - const Link<ToolBox *, void>& GetSelectHdl() const { return maSelectHdl; } void SetStateChangedHdl( const Link<StateChangedType const *, void>& aLink ) { maStateChangedHandler = aLink; } void SetDataChangedHdl( const Link<DataChangedEvent const *, void>& aLink ) { maDataChangedHandler = aLink; } void SetMenuButtonHdl( const Link<ToolBox *, void>& rLink ) { maMenuButtonHdl = rLink; } diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index f0b97a734b6d..5836c915b07c 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -653,8 +653,6 @@ public: Size GetOutputSizePixel() const; short GetIndent() const { return nIndent; } void SetIndent( short nIndent ); - // Place the expander checkitem at the optimal indent for hierarchical lists - void SetOptimalImageIndent() { SetIndent(12); } void SetSpaceBetweenEntries( short nSpace ); Point GetEntryPosition(const SvTreeListEntry*) const; void MakeVisible( SvTreeListEntry* pEntry ); diff --git a/include/vcl/viewdataentry.hxx b/include/vcl/viewdataentry.hxx index 74d7d22b98de..2bce7556a109 100644 --- a/include/vcl/viewdataentry.hxx +++ b/include/vcl/viewdataentry.hxx @@ -56,8 +56,6 @@ class VCL_DLLPUBLIC SvViewDataEntry bool mbSelectable:1; bool mbDragTarget:1; - tools::Rectangle maPaintRectangle; - public: SvViewDataEntry(); SvViewDataEntry( const SvViewDataEntry& ); @@ -82,10 +80,6 @@ public: const SvViewDataItem& GetItem(size_t nPos) const; SvViewDataItem& GetItem(size_t nPos); - - void SetPaintRectangle(tools::Rectangle aRectangle); - const tools::Rectangle& GetPaintRectangle() const; - }; #endif |