From 19c283eaa88248277a28fb1717bd30f0193e817c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 3 Oct 2014 09:28:26 +0100 Subject: [PATCH] coverity#1242888 Unused value Change-Id: I3adde518347208cb1ab7a2013c519d9eabcf7b3d --- connectivity/source/drivers/dbase/DTable.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index a0b3213a7d62..895f0de82e88 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -2553,10 +2553,12 @@ void ODbaseTable::copyData(ODbaseTable* _pNewTable,sal_Int32 _nPos) } } bOk = _pNewTable->InsertRow(*aInsertRow,true,_pNewTable->m_pColumns); - OSL_ENSURE(bOk,"Row could not be inserted!"); + SAL_WARN_IF(!bOk, "connectivity.drivers", "Row could not be inserted!"); } else - OSL_ENSURE(bOk,"Row could not be fetched!"); + { + SAL_WARN_IF(!bOk, "connectivity.drivers", "Row could not be fetched!"); + } } else {