summaryrefslogtreecommitdiff
path: root/editeng/source/xml
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/xml')
-rw-r--r--editeng/source/xml/xmltxtexp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx
index 99af4b56ed06..382965de3b43 100644
--- a/editeng/source/xml/xmltxtexp.cxx
+++ b/editeng/source/xml/xmltxtexp.cxx
@@ -114,14 +114,14 @@ SvxEditEngineSourceImpl::~SvxEditEngineSourceImpl()
void SAL_CALL SvxEditEngineSourceImpl::acquire()
{
- osl_incrementInterlockedCount( &maRefCount );
+ osl_atomic_increment( &maRefCount );
}
//------------------------------------------------------------------------
void SAL_CALL SvxEditEngineSourceImpl::release()
{
- if( ! osl_decrementInterlockedCount( &maRefCount ) )
+ if( ! osl_atomic_decrement( &maRefCount ) )
delete this;
}