summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-27 13:29:10 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-27 13:31:45 +0100
commitd0c80826ba22f5adb8e3d88c7ccabe9a3c6267a1 (patch)
treeb292625756e52a8bd380603130d1d06aa04c2969
parent5e55ac273c1093ffb81fbb5d74e4f23eea381d9d (diff)
sfx2: TabDlg_Impl::pData is deleted twice
(regression from eb69f807c4709a908222cb57b45a8733be663c56) Change-Id: I1752d60496a572152b571e871db818cf8c9264ed
-rw-r--r--sfx2/source/dialog/tabdlg.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 6e13217e8be2..41b16d64bb51 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -177,7 +177,8 @@ struct TabDlg_Impl
{}
~TabDlg_Impl()
{
- delete(pData);
+ delete pController;
+ delete pData;
}
};
@@ -534,8 +535,6 @@ SfxTabDialog::~SfxTabDialog()
delete pDataObject;
}
- delete pImpl->pController;
- delete pImpl->pData;
delete pImpl;
delete pOutSet;
delete pExampleSet;