diff options
Diffstat (limited to 'connectivity/source/commontools/TIndex.cxx')
-rw-r--r-- | connectivity/source/commontools/TIndex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TIndex.cxx b/connectivity/source/commontools/TIndex.cxx index 2b5be27e337a..cba83f780137 100644 --- a/connectivity/source/commontools/TIndex.cxx +++ b/connectivity/source/commontools/TIndex.cxx @@ -37,7 +37,7 @@ OIndexHelper::OIndexHelper( OTableHelper* _pTable) : connectivity::sdbcx::OIndex { construct(); std::vector< OUString> aVector; - m_pColumns = new OIndexColumns(this,m_aMutex,aVector); + m_pColumns.reset(new OIndexColumns(this,m_aMutex,aVector)); } OIndexHelper::OIndexHelper( OTableHelper* _pTable, @@ -93,7 +93,7 @@ void OIndexHelper::refreshColumns() if(m_pColumns) m_pColumns->reFill(aVector); else - m_pColumns = new OIndexColumns(this,m_aMutex,aVector); + m_pColumns.reset(new OIndexColumns(this,m_aMutex,aVector)); } |