summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VKey.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/sdbcx/VKey.cxx')
-rw-r--r--connectivity/source/sdbcx/VKey.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/sdbcx/VKey.cxx b/connectivity/source/sdbcx/VKey.cxx
index 8eaf5e784792..a3c15cd83427 100644
--- a/connectivity/source/sdbcx/VKey.cxx
+++ b/connectivity/source/sdbcx/VKey.cxx
@@ -92,7 +92,6 @@ OKey::OKey(const OUString& Name,const std::shared_ptr<KeyProperties>& _rProps, b
OKey::~OKey( )
{
- delete m_pColumns;
}
Any SAL_CALL OKey::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
@@ -171,7 +170,7 @@ Reference< css::container::XNameAccess > SAL_CALL OKey::getColumns( ) throw(Run
// allowed
}
- return m_pColumns;
+ return m_pColumns.get();
}
Reference< XPropertySet > SAL_CALL OKey::createDataDescriptor( ) throw(RuntimeException, std::exception)