summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-15 11:48:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-23 23:28:50 +0100
commit89f0655ebadb1aa9be31d854dfe5476e2b16e64c (patch)
tree20b96b8e860c738e33ceeb0f7d74817def90f564 /ucb
parentf9e6d195dbbf0b2effa10f69f4c99fce6e2b186b (diff)
Replaced diagnore ENSURE_OR_CONTINUE with regular code.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ext/ucpext_datasupplier.cxx6
1 files changed, 5 insertions, 1 deletions
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;