summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mork/MCatalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mork/MCatalog.cxx')
-rw-r--r--connectivity/source/drivers/mork/MCatalog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mork/MCatalog.cxx b/connectivity/source/drivers/mork/MCatalog.cxx
index 0322036f7f58..80eb293a5c02 100644
--- a/connectivity/source/drivers/mork/MCatalog.cxx
+++ b/connectivity/source/drivers/mork/MCatalog.cxx
@@ -59,7 +59,7 @@ void OCatalog::refreshTables()
if(m_pTables)
m_pTables->reFill(aVector);
else
- m_pTables = new OTables(m_xMetaData,*this,m_aMutex,aVector);
+ m_pTables.reset( new OTables(m_xMetaData,*this,m_aMutex,aVector) );
}
void OCatalog::refreshViews()
@@ -96,7 +96,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getTables( )
// allowed
}
- return m_pTables;
+ return m_pTables.get();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */