diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-21 08:39:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-21 08:56:51 +0200 |
commit | 4592d27dca75e73218ddca2039b1a1332adc828c (patch) | |
tree | eef4343b24b310b8eef849327b81ff23af7e4b5d /comphelper | |
parent | 3d54555a1e7d79f00a8ba309cf821f0e5f48be21 (diff) |
Get rid of trivial comphelper::in-/decrement wrappers
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/containermultiplexer.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/comphelper/source/container/containermultiplexer.cxx b/comphelper/source/container/containermultiplexer.cxx index 7b8ecc716c63..7f677790e454 100644 --- a/comphelper/source/container/containermultiplexer.cxx +++ b/comphelper/source/container/containermultiplexer.cxx @@ -18,7 +18,6 @@ */ #include <comphelper/containermultiplexer.hxx> -#include <comphelper/uno3.hxx> #include <osl/diagnose.h> namespace comphelper @@ -104,7 +103,7 @@ namespace comphelper if (m_pListener) m_pListener->setAdapter(this); - ::comphelper::increment(m_refCount); + osl_atomic_increment(&m_refCount); try { m_xContainer->addContainerListener(this); @@ -113,7 +112,7 @@ namespace comphelper { OSL_FAIL("Exception caught!"); } - ::comphelper::decrement(m_refCount); + osl_atomic_decrement(&m_refCount); } |