diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx index 0ea77ec75f26..2b6b3a42db34 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx @@ -180,12 +180,16 @@ namespace dbaui } OTableConnection::~OTableConnection() { + dispose(); + } + void OTableConnection::dispose() + { // clear vector clearLineData(); + vcl::Window::dispose(); } bool OConnectionLineAccess::isEditable() const { - return m_pLine ? !m_pLine->GetParent()->getDesignView()->getController().isReadOnly() : sal_False; } Reference< XAccessibleContext > SAL_CALL OConnectionLineAccess::getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) |