summaryrefslogtreecommitdiff
path: root/sot/source/unoolestorage/xolesimplestorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/unoolestorage/xolesimplestorage.cxx')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index 1de1f56792a7..926b32e08cf8 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -140,7 +140,7 @@ OLESimpleStorage::OLESimpleStorage(
OLESimpleStorage::~OLESimpleStorage()
{
try {
- m_refCount++;
+ osl_atomic_increment(&m_refCount);
dispose();
} catch( uno::Exception& )
{}