diff options
Diffstat (limited to 'extensions/source/propctrlr/formmetadata.cxx')
-rw-r--r-- | extensions/source/propctrlr/formmetadata.cxx | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx index f7278830f034..f9dca526ae4a 100644 --- a/extensions/source/propctrlr/formmetadata.cxx +++ b/extensions/source/propctrlr/formmetadata.cxx @@ -580,8 +580,7 @@ namespace pcr DefaultEnumRepresentation::DefaultEnumRepresentation( const IPropertyInfoService& _rInfo, const Type& _rType, sal_Int32 _nPropertyId ) - :m_refCount( 0 ) - ,m_rMetaData( _rInfo ) + :m_rMetaData( _rInfo ) ,m_aType( _rType ) ,m_nPropertyId( _nPropertyId ) { @@ -666,23 +665,6 @@ namespace pcr } - oslInterlockedCount SAL_CALL DefaultEnumRepresentation::acquire() - { - return osl_atomic_increment( &m_refCount ); - } - - - oslInterlockedCount SAL_CALL DefaultEnumRepresentation::release() - { - if ( 0 == osl_atomic_decrement( &m_refCount ) ) - { - delete this; - return 0; - } - return m_refCount; - } - - } // namespace pcr |