Kaydet (Commit) 168ad257 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: unreadVariable

Change-Id: Ia611c9a1119af65688031d16ff322f1bde43297b
üst 5d26ad5a
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment