From 89f0655ebadb1aa9be31d854dfe5476e2b16e64c Mon Sep 17 00:00:00 2001 From: Marcel Metz Date: Sun, 15 Jan 2012 11:48:11 +0100 Subject: Replaced diagnore ENSURE_OR_CONTINUE with regular code. --- ucb/source/ucp/ext/ucpext_datasupplier.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ucb') diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx index 507d2676a637..8425ffe8135b 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx @@ -163,7 +163,11 @@ namespace ucb { namespace ucp { namespace ext ++pExtInfo ) { - ENSURE_OR_CONTINUE( pExtInfo->getLength() > 0, "illegal extension info" ); + if ( pExtInfo->getLength() <= 0 ) + { + SAL_WARN( "ucb.ucp", "illegal extension info" ); + continue; + } const ::rtl::OUString& rLocalId = (*pExtInfo)[0]; ResultListEntry aEntry; -- cgit