summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmloff/uniref.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/inc/xmloff/uniref.hxx b/xmloff/inc/xmloff/uniref.hxx
index 2deedcf69569..808ed8212b97 100644
--- a/xmloff/inc/xmloff/uniref.hxx
+++ b/xmloff/inc/xmloff/uniref.hxx
@@ -105,8 +105,9 @@ public:
{}
virtual ~UniRefBase();
- void acquire() { osl_incrementInterlockedCount( &m_refCount ); }
+ void acquire() { osl_atomic_increment( &m_refCount ); }
void release();
+
};
///////////////////////////////////////////////////////////////////////////////