Kaydet (Commit) 0a285fad authored tarafından Michael Meeks's avatar Michael Meeks

Fix redline dialog lifecycle foo.

Change-Id: Idf34e57243b7baba7789fd3d83a2bd7726d3c147
üst 35237cb3
...@@ -149,7 +149,7 @@ void SwModelessRedlineAcceptDlg::dispose() ...@@ -149,7 +149,7 @@ void SwModelessRedlineAcceptDlg::dispose()
SwRedlineAcceptDlg::SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer *pBuilder, SwRedlineAcceptDlg::SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer *pBuilder,
vcl::Window *pContentArea, bool bAutoFmt) : vcl::Window *pContentArea, bool bAutoFmt) :
pParentDlg (pParent), pParentDlg (pParent),
aTabPagesCTRL (new SvxAcceptChgCtr(pContentArea, pBuilder)), aTabPagesCTRL (VclPtr<SvxAcceptChgCtr>::Create(pContentArea, pBuilder)),
aPopup (SW_RES(MN_REDLINE_POPUP)), aPopup (SW_RES(MN_REDLINE_POPUP)),
sInserted (SW_RES(STR_REDLINE_INSERTED)), sInserted (SW_RES(STR_REDLINE_INSERTED)),
sDeleted (SW_RES(STR_REDLINE_DELETED)), sDeleted (SW_RES(STR_REDLINE_DELETED)),
...@@ -221,6 +221,7 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer ...@@ -221,6 +221,7 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer
SwRedlineAcceptDlg::~SwRedlineAcceptDlg() SwRedlineAcceptDlg::~SwRedlineAcceptDlg()
{ {
aTabPagesCTRL.disposeAndClear();
} }
void SwRedlineAcceptDlg::Init(sal_uInt16 nStart) void SwRedlineAcceptDlg::Init(sal_uInt16 nStart)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment