summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 12b2610e705a..6fd3ba78d96d 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -2474,7 +2474,7 @@ void ODbaseTable::dropColumn(sal_Int32 _nPos)
// construct the new table
if(!pNewTable->CreateImpl())
{
- xHold = pNewTable = NULL;
+ xHold.clear();
const OUString sError( getConnection()->getResources().getResourceStringWithSubstitution(
STR_COLUMN_NOT_DROP,
"$position$", OUString::number(_nPos)
@@ -2489,7 +2489,7 @@ void ODbaseTable::dropColumn(sal_Int32 _nPos)
pNewTable->renameImpl(m_Name);
// release the temp file
- xHold = pNewTable = NULL;
+ xHold.clear();
FileClose();
construct();