From bb7ade140df807b6a0f12766a1365b8f8d0fd342 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 7 Mar 2018 13:42:58 +0200 Subject: loplugin:unusedmethods Change-Id: Id6b4edd265cb6bef31c72e2a0a440211d51c7c33 Reviewed-on: https://gerrit.libreoffice.org/50900 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/itemprop.hxx | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'include/svl') diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index 9dadda50d351..334ae8d5f35a 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -91,27 +91,6 @@ struct SfxItemPropertySimpleEntry assert(_nFlags <= 0x1ff ); } - SfxItemPropertySimpleEntry(sal_uInt16 _nWID, css::uno::Type const & _rType, - sal_Int16 _nFlags, sal_uInt8 const _nMemberId, PropertyMoreFlags _nMoreFlags) - : nWID( _nWID ) - , aType( _rType ) - , nFlags( _nFlags ) - , nMemberId( _nMemberId ) - , nMoreFlags( _nMoreFlags ) - { - assert(_nFlags <= 0x1ff ); - assert( (_nMemberId & 0x40) == 0 ); - // Verify that if METRIC_ITEM is set, we are one of the types supported by - // SvxUnoConvertToMM. - assert((_nMoreFlags & PropertyMoreFlags::METRIC_ITEM) && - ( (aType.getTypeClass() == css::uno::TypeClass_BYTE) - || (aType.getTypeClass() == css::uno::TypeClass_SHORT) - || (aType.getTypeClass() == css::uno::TypeClass_UNSIGNED_SHORT) - || (aType.getTypeClass() == css::uno::TypeClass_LONG) - || (aType.getTypeClass() == css::uno::TypeClass_UNSIGNED_LONG) - ) ); - } - SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry* pMapEntry ) : nWID( pMapEntry->nWID ) , aType( pMapEntry->aType ) -- cgit