summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/SelectionMultiplex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/SelectionMultiplex.cxx')
-rw-r--r--comphelper/source/misc/SelectionMultiplex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/SelectionMultiplex.cxx b/comphelper/source/misc/SelectionMultiplex.cxx
index aa3092d1886d..d4cca73a7da0 100644
--- a/comphelper/source/misc/SelectionMultiplex.cxx
+++ b/comphelper/source/misc/SelectionMultiplex.cxx
@@ -76,12 +76,12 @@ OSelectionChangeMultiplexer::OSelectionChangeMultiplexer(OSelectionChangeListene
,m_bAutoSetRelease(_bAutoReleaseSet)
{
m_pListener->setAdapter(this);
- osl_incrementInterlockedCount(&m_refCount);
+ osl_atomic_increment(&m_refCount);
{
Reference< XSelectionChangeListener> xPreventDelete(this);
m_xSet->addSelectionChangeListener(xPreventDelete);
}
- osl_decrementInterlockedCount(&m_refCount);
+ osl_atomic_decrement(&m_refCount);
}
//------------------------------------------------------------------