summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-03 09:28:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-03 16:30:26 +0100
commit19c283eaa88248277a28fb1717bd30f0193e817c (patch)
treea923f6d78675b246760038fc9d52691829dc4150 /connectivity
parent01539155df5dda580ff248a86e192ced0150fb1b (diff)
coverity#1242888 Unused value
Change-Id: I3adde518347208cb1ab7a2013c519d9eabcf7b3d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx6
1 files 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
{