summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 13:42:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 08:44:32 +0100
commitbb7ade140df807b6a0f12766a1365b8f8d0fd342 (patch)
treed90de305c953a613373d27f8f89bb95c43ee9eb4 /include/svl
parent44d5188b2fd8afc82aa8fda1ad4b374734129aea (diff)
loplugin:unusedmethods
Change-Id: Id6b4edd265cb6bef31c72e2a0a440211d51c7c33 Reviewed-on: https://gerrit.libreoffice.org/50900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/itemprop.hxx21
1 files changed, 0 insertions, 21 deletions
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 )