summaryrefslogtreecommitdiff
path: root/cppu/source/uno/lbmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno/lbmap.cxx')
-rw-r--r--cppu/source/uno/lbmap.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index 6b8e152b4b53..9b4204c9da16 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -24,6 +24,7 @@
#include <boost/unordered_map.hpp>
#include <set>
#include <algorithm>
+#include <cassert>
#include "rtl/ustring.hxx"
#include "rtl/ustrbuf.hxx"
@@ -571,7 +572,9 @@ void SAL_CALL uno_getMapping(
rtl_uString * pAddPurpose )
SAL_THROW_EXTERN_C()
{
- OSL_ENSURE( ppMapping && pFrom && pTo, "### null ptr!" );
+ assert(ppMapping != 0);
+ assert(pFrom != 0);
+ assert(pTo != 0);
if (*ppMapping)
{
(*(*ppMapping)->release)( *ppMapping );