summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/TableDeco.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/api/TableDeco.cxx')
-rw-r--r--dbaccess/source/core/api/TableDeco.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index 1c229802b43d..6b632e135e12 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -553,7 +553,7 @@ void ODBTableDecorator::refreshColumns()
OContainerMediator* pMediator = new OContainerMediator( pCol, m_xColumnDefinitions );
m_xColumnMediator = pMediator;
pCol->setMediator( pMediator );
- m_pColumns = pCol;
+ m_pColumns.reset(pCol);
}
else
m_pColumns->reFill(aVector);