include/svl/itemprop.hxx | 13 ------------- include/vcl/TaskStopwatch.hxx | 5 ----- svl/source/items/itemprop.cxx | 5 ----- 3 files changed, 23 deletions(-)
New commits: commit f96c2af0157383ac097a2488ed9f0ba1639681ea Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Sat Apr 24 17:01:23 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Apr 25 12:24:04 2021 +0200 loplugin:unusedmethods Change-Id: I2d563f5f3e6e3a5f2a58080e13f4211253bdf30d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114590 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index 4ea43eab7e64..0bc96f9ebf0f 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -106,17 +106,6 @@ struct SfxItemPropertySimpleEntry }; -struct SfxItemPropertyNamedEntry : public SfxItemPropertySimpleEntry -{ - OUString sName; - SfxItemPropertyNamedEntry( const OUString& rName, const SfxItemPropertySimpleEntry& rSimpleEntry) - : SfxItemPropertySimpleEntry( rSimpleEntry ) - , sName( rName ) - { - } -}; - - struct SfxItemPropertyMapCompare { bool operator() ( const SfxItemPropertyMapEntry * lhs, const SfxItemPropertyMapEntry * rhs ) const @@ -140,8 +129,6 @@ public: bool hasPropertyByName( std::u16string_view rName ) const; const o3tl::sorted_vector< const SfxItemPropertyMapEntry*, SfxItemPropertyMapCompare >& getPropertyEntries() const { return m_aMap; } - sal_uInt32 getSize() const; - }; class SVL_DLLPUBLIC SfxItemPropertySet final diff --git a/include/vcl/TaskStopwatch.hxx b/include/vcl/TaskStopwatch.hxx index 25daf9237133..1ca2c21a7e46 100644 --- a/include/vcl/TaskStopwatch.hxx +++ b/include/vcl/TaskStopwatch.hxx @@ -81,11 +81,6 @@ public: { } - /** - * Returns true, if the time slot is already exceeded - **/ - bool exceededRuntime() { return !nextIter(true); } - /** * Returns true, if another iteration will probably pass in the time slot **/ diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx index c7ac3eb6400c..f5418dbe169b 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -109,11 +109,6 @@ bool SfxItemPropertyMap::hasPropertyByName( std::u16string_view rName ) const return getByName(rName) != nullptr; } -sal_uInt32 SfxItemPropertyMap::getSize() const -{ - return m_aMap.size(); -} - SfxItemPropertySet::~SfxItemPropertySet() { } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits