diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 6 |
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 { |