summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/selglos.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/selglos.hxx')
-rw-r--r--sw/source/uibase/inc/selglos.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/selglos.hxx b/sw/source/uibase/inc/selglos.hxx
index 501af9a28200..e67f3788a2f2 100644
--- a/sw/source/uibase/inc/selglos.hxx
+++ b/sw/source/uibase/inc/selglos.hxx
@@ -29,11 +29,14 @@
class SwSelGlossaryDlg : public ModalDialog
{
protected:
- ListBox* m_pGlosBox;
+ VclPtr<ListBox> m_pGlosBox;
DECL_LINK(DoubleClickHdl, ListBox*);
public:
SwSelGlossaryDlg(vcl::Window * pParent, const OUString &rShortName);
+ virtual ~SwSelGlossaryDlg();
+ virtual void dispose() SAL_OVERRIDE;
+
void InsertGlos(const OUString &rRegion, const OUString &rGlosName)
{
const OUString aTmp = rRegion + ":" + rGlosName;