From 8228227168a7eb3ebf14629bec87f01536c23970 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Dec 2016 15:14:25 +0200 Subject: convert OSL_ENSURE to assert in AccessibleEventNotifier and fix the places that trigger it Change-Id: I97a04cff25ab5aa1d42c79a971d15ba742bf384e Reviewed-on: https://gerrit.libreoffice.org/31760 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/misc/accessibleeventnotifier.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper/source/misc/accessibleeventnotifier.cxx') diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx index 9c7d89a12985..742de12ff6cb 100644 --- a/comphelper/source/misc/accessibleeventnotifier.cxx +++ b/comphelper/source/misc/accessibleeventnotifier.cxx @@ -130,7 +130,7 @@ namespace // look up this client ClientMap &rClients = Clients::get(); rPos = rClients.find( nClient ); - OSL_ENSURE( rClients.end() != rPos, + assert( rClients.end() != rPos && "AccessibleEventNotifier::implLookupClient: invalid client id " "(did you register your client?)!" ); -- cgit