summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-20 23:38:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-24 12:05:09 +0000
commit136a2fd6c08193793d546e69108765316c96668b (patch)
tree1e78b7cbb60c0726d4c13ac171b973eff6978466 /extensions
parent7d76bb251e0c88ff17282a33b801a5d17a434af5 (diff)
compilerplugins: add OWeakObject::release() override check
Change-Id: I767857545d7c91615cf162790c04f0016de9fdf6 Reviewed-on: https://gerrit.libreoffice.org/26555 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/composeduiupdate.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx
index 8ad15cff1871..5fde3d39b5df 100644
--- a/extensions/source/propctrlr/composeduiupdate.cxx
+++ b/extensions/source/propctrlr/composeduiupdate.cxx
@@ -211,14 +211,13 @@ namespace pcr
void SAL_CALL CachedInspectorUI::acquire() throw()
{
- osl_atomic_increment( &m_refCount );
+ CachedInspectorUI_Base::acquire();
}
void SAL_CALL CachedInspectorUI::release() throw()
{
- if ( 0 == osl_atomic_decrement( &m_refCount ) )
- delete this;
+ CachedInspectorUI_Base::release();
}