diff options
Diffstat (limited to 'dbaccess/source/ui/inc/TableWindow.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/TableWindow.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/TableWindow.hxx b/dbaccess/source/ui/inc/TableWindow.hxx index 004139a5cb95..67cb66b8f451 100644 --- a/dbaccess/source/ui/inc/TableWindow.hxx +++ b/dbaccess/source/ui/inc/TableWindow.hxx @@ -54,8 +54,8 @@ namespace dbaui friend class OTableWindowListBox; protected: // and the table itself (needed for me as I want to lock it as long as the window is alive) - FixedImage m_aTypeImage; - OTableWindowTitle m_aTitle; + VclPtr<FixedImage> m_aTypeImage; + VclPtr<OTableWindowTitle> m_aTitle; OTableWindowListBox* m_pListBox; OTableWindowAccess* m_pAccessible; @@ -125,6 +125,7 @@ namespace dbaui public: virtual ~OTableWindow(); + virtual void dispose() SAL_OVERRIDE; // late Constructor, see also CreateListbox and FillListbox virtual bool Init(); @@ -148,7 +149,7 @@ namespace dbaui OUString GetComposedName() const { return m_pData->GetComposedName(); } OTableWindowListBox* GetListBox() const { return m_pListBox; } TTableWindowData::value_type GetData() const { return m_pData; } - OTableWindowTitle& GetTitleCtrl() { return m_aTitle; } + OTableWindowTitle& GetTitleCtrl() { return *m_aTitle.get(); } /** returns the name which should be used when displaying join or relations @return |