summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-21 08:39:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-21 08:56:51 +0200
commit4592d27dca75e73218ddca2039b1a1332adc828c (patch)
treeeef4343b24b310b8eef849327b81ff23af7e4b5d /toolkit
parent3d54555a1e7d79f00a8ba309cf821f0e5f48be21 (diff)
Get rid of trivial comphelper::in-/decrement wrappers
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/geometrycontrolmodel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx
index f184213d987b..ac09345fab3b 100644
--- a/toolkit/source/controls/geometrycontrolmodel.cxx
+++ b/toolkit/source/controls/geometrycontrolmodel.cxx
@@ -83,7 +83,7 @@
{
OSL_ENSURE(NULL != _pAggregateInstance, "OGeometryControlModel_Base::OGeometryControlModel_Base: invalid aggregate!");
- increment(m_refCount);
+ osl_atomic_increment(&m_refCount);
{
m_xAggregate = _pAggregateInstance;
@@ -95,7 +95,7 @@
setAggregation(m_xAggregate);
m_xAggregate->setDelegator(static_cast< XWeak* >(this));
}
- decrement(m_refCount);
+ osl_atomic_decrement(&m_refCount);
registerProperties();
}
@@ -113,7 +113,7 @@
,m_nStep(0)
,m_bCloneable(_rxAggregateInstance.is())
{
- increment(m_refCount);
+ osl_atomic_increment(&m_refCount);
{
{
// ensure that the temporary gets destructed NOW
@@ -128,7 +128,7 @@
setAggregation(m_xAggregate);
m_xAggregate->setDelegator(static_cast< XWeak* >(this));
}
- decrement(m_refCount);
+ osl_atomic_decrement(&m_refCount);
registerProperties();
}