diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 15:11:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 15:11:54 +0200 |
commit | 0269ef901119635fa809245698c985b30e648ef4 (patch) | |
tree | beb46403f2675dc15bfd02c1c5bc727ba892c1c6 /sw/source/uibase/envelp | |
parent | 5459c4a7312ce7bc0326978f4164441e76e5d5a4 (diff) |
sw: convert new to ::Create.
Change-Id: Iab0fc73540b3c7a60c64296dce86b70c1e02cf09
Diffstat (limited to 'sw/source/uibase/envelp')
-rw-r--r-- | sw/source/uibase/envelp/syncbtn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/envelp/syncbtn.cxx b/sw/source/uibase/envelp/syncbtn.cxx index 2032aba3e633..e75751de5a31 100644 --- a/sw/source/uibase/envelp/syncbtn.cxx +++ b/sw/source/uibase/envelp/syncbtn.cxx @@ -37,7 +37,7 @@ SwSyncChildWin::SwSyncChildWin( vcl::Window* _pParent, SfxChildWinInfo* pInfo ) : SfxChildWindow( _pParent, nId ) { - pWindow = new SwSyncBtnDlg( pBindings, this, _pParent); + pWindow = VclPtr<SwSyncBtnDlg>::Create( pBindings, this, _pParent); if (!pInfo->aSize.Width() || !pInfo->aSize.Height()) { |