diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 11:41:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 11:43:40 +0000 |
commit | 9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 (patch) | |
tree | 51815ec709869dd297c10b8359b3bc4736204a98 /include/vcl | |
parent | cfaba15c589f882cc0bcce5cd07bdf3d30f547f6 (diff) |
loplugin:unusedmethods
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0
Reviewed-on: https://gerrit.libreoffice.org/35834
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/event.hxx | 13 | ||||
-rw-r--r-- | include/vcl/lazydelete.hxx | 5 | ||||
-rw-r--r-- | include/vcl/menubtn.hxx | 1 | ||||
-rw-r--r-- | include/vcl/svapp.hxx | 2 |
4 files changed, 0 insertions, 21 deletions
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx index 9737bac576ec..3dfdf649b390 100644 --- a/include/vcl/event.hxx +++ b/include/vcl/event.hxx @@ -175,19 +175,6 @@ inline MouseEvent::MouseEvent( const Point& rPos, sal_uInt16 nClicks, mnCode = nButtons | nModifier; } -class VCL_DLLPUBLIC ZoomEvent -{ -public: - ZoomEvent() {} -}; - -class VCL_DLLPUBLIC ScrollEvent -{ -public: - ScrollEvent() {} -}; - - enum class HelpEventMode { NONE = 0x0000, diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx index aef865dc234c..63196185701a 100644 --- a/include/vcl/lazydelete.hxx +++ b/include/vcl/lazydelete.hxx @@ -234,11 +234,6 @@ namespace vcl // set contents, returning old contents // ownership is transferred ! T* set( T* i_pNew ) { T* pOld = m_pT; m_pT = i_pNew; return pOld; } - - // set contents, deleting old contents - // ownership is transferred ! - void reset( T* i_pNew = nullptr ) - { OSL_ASSERT( i_pNew != m_pT || i_pNew == nullptr ); T* pOld = m_pT; m_pT = i_pNew; delete pOld; } }; /** Similar to DeleteOnDeinit, the DeleteUnoReferenceOnDeinit diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx index 5bff050fb196..da725103c1c7 100644 --- a/include/vcl/menubtn.hxx +++ b/include/vcl/menubtn.hxx @@ -76,7 +76,6 @@ public: PopupMenu* GetPopupMenu() const { return mpMenu; } void SetPopover(FloatingWindow* pFloatingWindow); - FloatingWindow* GetPopover() const { return mpFloatingWindow; } sal_uInt16 GetCurItemId() const { return mnCurItemId; } OString GetCurItemIdent() const; diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index 533ba155e7fb..0af0d3862488 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -59,8 +59,6 @@ class Reflection; class NotifyEvent; class KeyEvent; class MouseEvent; -class ZoomEvent; -class ScrollEvent; struct ImplSVEvent; struct ConvertData; |