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 /include/comphelper/uno3.hxx | |
parent | 3d54555a1e7d79f00a8ba309cf821f0e5f48be21 (diff) |
Get rid of trivial comphelper::in-/decrement wrappers
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
Diffstat (limited to 'include/comphelper/uno3.hxx')
-rw-r--r-- | include/comphelper/uno3.hxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx index 62f3e7c644f7..eae94a5866f5 100644 --- a/include/comphelper/uno3.hxx +++ b/include/comphelper/uno3.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_COMPHELPER_UNO3_HXX #define INCLUDED_COMPHELPER_UNO3_HXX -#include <osl/interlck.h> #include <rtl/instance.hxx> #include <comphelper/types.hxx> #include <com/sun/star/uno/XAggregation.hpp> @@ -30,16 +29,6 @@ namespace comphelper { - - - - - /// manipulate ref counts without calling acquire/release - inline oslInterlockedCount increment(oslInterlockedCount& _counter) { return osl_atomic_increment(&_counter); } - inline oslInterlockedCount decrement(oslInterlockedCount& _counter) { return osl_atomic_decrement(&_counter); } - - - /** used for declaring UNO3-Defaults, i.e. acquire/release */ #define DECLARE_UNO3_DEFAULTS(classname, baseclass) \ |