summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/dsselect.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/dsselect.hxx')
-rw-r--r--dbaccess/source/ui/dlg/dsselect.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx
index b124fb0cdaee..2cb4cb6537e6 100644
--- a/dbaccess/source/ui/dlg/dsselect.hxx
+++ b/dbaccess/source/ui/dlg/dsselect.hxx
@@ -41,12 +41,12 @@ namespace dbaui
class ODatasourceSelectDialog : public ModalDialog
{
protected:
- ListBox* m_pDatasource;
- OKButton* m_pOk;
- CancelButton* m_pCancel;
+ VclPtr<ListBox> m_pDatasource;
+ VclPtr<OKButton> m_pOk;
+ VclPtr<CancelButton> m_pCancel;
SfxItemSet* m_pOutputSet;
#ifdef HAVE_ODBC_ADMINISTRATION
- PushButton* m_pManageDatasources;
+ VclPtr<PushButton> m_pManageDatasources;
::std::unique_ptr< OOdbcManagement >
m_pODBCManagement;
#endif
@@ -54,7 +54,7 @@ protected:
public:
ODatasourceSelectDialog( vcl::Window* _pParent, const StringBag& _rDatasources, SfxItemSet* _pOutputSet = NULL );
virtual ~ODatasourceSelectDialog();
-
+ virtual void dispose() SAL_OVERRIDE;
OUString GetSelected() const { return m_pDatasource->GetSelectEntry();}
void Select( const OUString& _rEntry ) { m_pDatasource->SelectEntry(_rEntry); }