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 /forms/source/richtext/richtextmodel.cxx | |
parent | 3d54555a1e7d79f00a8ba309cf821f0e5f48be21 (diff) |
Get rid of trivial comphelper::in-/decrement wrappers
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
Diffstat (limited to 'forms/source/richtext/richtextmodel.cxx')
-rw-r--r-- | forms/source/richtext/richtextmodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index 7db6a9f5e633..313c28ff20cd 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -142,7 +142,7 @@ namespace frm void ORichTextModel::implDoAggregation() { - increment( m_refCount ); + osl_atomic_increment( &m_refCount ); { m_xAggregate = new ORichTextUnoWrapper( *m_pEngine, this ); @@ -150,7 +150,7 @@ namespace frm doSetDelegator(); } - decrement( m_refCount ); + osl_atomic_decrement( &m_refCount ); } |