diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-26 13:20:10 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 21:55:41 +0100 |
commit | 0cef43d2e425895746392c6f503c660a7ca1241c (patch) | |
tree | c7e16b823eaab99379dbebc3347e7b2e3874be25 /sd/source/ui/dlg/copydlg.cxx | |
parent | e10b12842eb15b3b9bf577b4da036313fa830786 (diff) |
vcl: VclPtr conversion in sd
Change-Id: I3cde57acfeec194968a639f8557b17177a94d37f
Diffstat (limited to 'sd/source/ui/dlg/copydlg.cxx')
-rw-r--r-- | sd/source/ui/dlg/copydlg.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx index c0b9b05f0b02..a66d6a041807 100644 --- a/sd/source/ui/dlg/copydlg.cxx +++ b/sd/source/ui/dlg/copydlg.cxx @@ -84,6 +84,11 @@ CopyDlg::CopyDlg(vcl::Window* pWindow, const SfxItemSet& rInAttrs, CopyDlg::~CopyDlg() { + dispose(); +} + +void CopyDlg::dispose() +{ OUString& rStr = GetExtraData(); rStr = OUString::number(m_pNumFldCopies->GetValue()); @@ -108,6 +113,8 @@ CopyDlg::~CopyDlg() rStr += OUString( TOKEN ); rStr += OUString::number( m_pLbEndColor->GetSelectEntryColor().GetColor() ); + + SfxModalDialog::dispose(); } /** |