summaryrefslogtreecommitdiff
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-03 17:15:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-08 06:40:25 +0000
commit80c874dc87ad3018df6e6f0edb7cca174f75db37 (patch)
treefa119fc641f9708332a0d931533684bab07c9e87 /include/cppuhelper
parent7fb70ff650ce3a1e4a39bd1b936f511d6be8986c (diff)
remove "object is disposed" warning in OBroadcastHelperVar::removeListener
doesn't add anything of value. Change-Id: Ie2dea7c43570640284771c992d0072ab61de425e Reviewed-on: https://gerrit.libreoffice.org/25871 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/cppuhelper')
-rw-r--r--include/cppuhelper/interfacecontainer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index f3986bb5776c..07b296e5b7d2 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -476,7 +476,6 @@ struct OBroadcastHelperVar
const css::uno::Reference < css::uno::XInterface > & r )
{
::osl::MutexGuard guard( rMutex );
- OSL_ENSURE( !bDisposed, "object is disposed" );
if( ! bInDispose && ! bDisposed )
aLC.removeInterface( key , r );
}