diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-18 15:20:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-19 07:59:43 +0200 |
commit | 74f938bb10b6db8cae071efc9fd29015befeb5e6 (patch) | |
tree | 8d35905cdf1293819797c6b03bb93678b63796cc /vcl/inc | |
parent | b98cb40d974d40d131b6b25f96e9c53890154296 (diff) |
loplugin:unusedmethods
Change-Id: I95e63105654952d12c1dfd62f51593de114be569
Reviewed-on: https://gerrit.libreoffice.org/81077
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/opengl/win/gdiimpl.hxx | 14 | ||||
-rw-r--r-- | vcl/inc/svdata.hxx | 14 | ||||
-rw-r--r-- | vcl/inc/wizdlg.hxx | 1 |
3 files changed, 14 insertions, 15 deletions
diff --git a/vcl/inc/opengl/win/gdiimpl.hxx b/vcl/inc/opengl/win/gdiimpl.hxx index bd0bea4ef246..7bf6d8bf85d5 100644 --- a/vcl/inc/opengl/win/gdiimpl.hxx +++ b/vcl/inc/opengl/win/gdiimpl.hxx @@ -50,6 +50,20 @@ public: }; +struct ControlCacheHashFunction +{ + std::size_t operator()(ControlCacheKey const& aCache) const + { + std::size_t seed = 0; + boost::hash_combine(seed, aCache.mnType); + boost::hash_combine(seed, aCache.mnPart); + boost::hash_combine(seed, aCache.mnState); + boost::hash_combine(seed, aCache.maSize.Width()); + boost::hash_combine(seed, aCache.maSize.Height()); + return seed; + } +}; + typedef std::pair<ControlCacheKey, std::unique_ptr<TextureCombo>> ControlCachePair; typedef o3tl::lru_map<ControlCacheKey, std::unique_ptr<TextureCombo>, ControlCacheHashFunction> ControlCacheType; diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index e2da6476da77..56789b91a3f0 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -405,20 +405,6 @@ struct ImplSVEvent bool mbCall; }; -struct ControlCacheHashFunction -{ - std::size_t operator()(ControlCacheKey const& aCache) const - { - std::size_t seed = 0; - boost::hash_combine(seed, aCache.mnType); - boost::hash_combine(seed, aCache.mnPart); - boost::hash_combine(seed, aCache.mnState); - boost::hash_combine(seed, aCache.maSize.Width()); - boost::hash_combine(seed, aCache.maSize.Height()); - return seed; - } -}; - extern int nImplSysDialog; #endif // INCLUDED_VCL_INC_SVDATA_HXX diff --git a/vcl/inc/wizdlg.hxx b/vcl/inc/wizdlg.hxx index 911e572c3758..5b25eab29671 100644 --- a/vcl/inc/wizdlg.hxx +++ b/vcl/inc/wizdlg.hxx @@ -303,7 +303,6 @@ namespace vcl DECL_LINK(OnPrevPage, Button*, void); DECL_LINK(OnFinish, Button*, void); - void implResetDefault(vcl::Window const * _pWindow); void implUpdateTitle(); void implConstruct( const WizardButtonFlags _nButtonFlags ); }; |