summaryrefslogtreecommitdiff
path: root/sw/source/uibase/envelp/syncbtn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/envelp/syncbtn.cxx')
-rw-r--r--sw/source/uibase/envelp/syncbtn.cxx2
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())
{