summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2/NCatalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/evoab2/NCatalog.cxx')
-rw-r--r--connectivity/source/drivers/evoab2/NCatalog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/evoab2/NCatalog.cxx b/connectivity/source/drivers/evoab2/NCatalog.cxx
index 1d8c2924a081..fb010b8dce5d 100644
--- a/connectivity/source/drivers/evoab2/NCatalog.cxx
+++ b/connectivity/source/drivers/evoab2/NCatalog.cxx
@@ -58,7 +58,7 @@ void OEvoabCatalog::refreshTables()
if(m_pTables)
m_pTables->reFill(aVector);
else
- m_pTables = new OEvoabTables(m_xMetaData,*this,m_aMutex,aVector);
+ m_pTables.reset( new OEvoabTables(m_xMetaData,*this,m_aMutex,aVector) );
}
// XTablesSupplier
Reference< XNameAccess > SAL_CALL OEvoabCatalog::getTables( )
@@ -81,7 +81,7 @@ Reference< XNameAccess > SAL_CALL OEvoabCatalog::getTables( )
// allowed
}
- return m_pTables;
+ return m_pTables.get();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */