summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/textconnectionsettings.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/inc/textconnectionsettings.hxx')
-rw-r--r--dbaccess/source/ui/inc/textconnectionsettings.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/dbaccess/source/ui/inc/textconnectionsettings.hxx b/dbaccess/source/ui/inc/textconnectionsettings.hxx
index 528382def297..fdd5a9489121 100644
--- a/dbaccess/source/ui/inc/textconnectionsettings.hxx
+++ b/dbaccess/source/ui/inc/textconnectionsettings.hxx
@@ -38,6 +38,8 @@ namespace dbaui
{
public:
TextConnectionSettingsDialog( vcl::Window* _pParent, SfxItemSet& _rItems );
+ virtual ~TextConnectionSettingsDialog();
+ virtual void dispose() SAL_OVERRIDE;
/** initializes a set of PropertyStorage instaces, which are bound to
the text-connection relevant items in our item sets
@@ -48,7 +50,7 @@ namespace dbaui
private:
::std::unique_ptr< OTextConnectionHelper > m_pTextConnectionHelper;
- OKButton *m_pOK;
+ VclPtr<OKButton> m_pOK;
SfxItemSet& m_rItems;
private: