Kaydet (Commit) acf245c0 authored tarafından Noel Grandin's avatar Noel Grandin

wrap dialog subclass in ScopedVclPtrInstance

Change-Id: I79b982ffa121cc38c467f79bd56d498abd4f8cac
üst d320bc8a
......@@ -836,12 +836,10 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, TSAURLsPBHdl)
// Unlike the mpCertPathDlg, we *don't* keep the same dialog object around between
// invocations. Seems clearer to my little brain that way.
TSAURLsDialog* pTSAURLsDlg = new TSAURLsDialog(this);
ScopedVclPtrInstance<TSAURLsDialog> pTSAURLsDlg(this);
pTSAURLsDlg->Execute();
delete pTSAURLsDlg;
return 0;
}
......
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