summaryrefslogtreecommitdiff
path: root/include/svl/itemprop.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/itemprop.hxx')
-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 )