From 81def52473d8de50f7b0570c9867573256b8afa7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 May 2021 15:35:17 +0200 Subject: loplugin:unusedmethods Change-Id: I8191f4a9eb25b12242354813303fb7d30489d2c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115752 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/itemprop.hxx | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'include/svl') diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index c6f6b9bd1425..d6461558abde 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -69,43 +69,6 @@ struct SfxItemPropertyMapEntry } }; -struct SfxItemPropertySimpleEntry -{ - css::uno::Type aType; - sal_uInt16 nWID; - /// flag bitmap, @see css::beans::PropertyAttribute - sal_Int16 nFlags; - sal_uInt8 nMemberId; - PropertyMoreFlags nMoreFlags = PropertyMoreFlags::NONE; - - SfxItemPropertySimpleEntry() - : nWID( 0 ) - , nFlags( 0 ) - , nMemberId( 0 ) - { - } - - SfxItemPropertySimpleEntry(sal_uInt16 _nWID, css::uno::Type const & _rType, - sal_Int16 _nFlags) - : aType( _rType ) - , nWID( _nWID ) - , nFlags( _nFlags ) - , nMemberId( 0 ) - { - assert(_nFlags <= 0x1ff ); - } - - explicit SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry& rMapEntry ) - : aType( rMapEntry.aType ) - , nWID( rMapEntry.nWID ) - , nFlags( rMapEntry.nFlags ) - , nMemberId( rMapEntry.nMemberId ) - , nMoreFlags( rMapEntry.nMoreFlags ) - { - } - -}; - struct SfxItemPropertyMapCompare { bool operator() ( const SfxItemPropertyMapEntry * lhs, const SfxItemPropertyMapEntry * rhs ) const -- cgit