summaryrefslogtreecommitdiff
path: root/sw/source/uibase/fldui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/fldui')
-rw-r--r--sw/source/uibase/fldui/fldwrap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/fldui/fldwrap.cxx b/sw/source/uibase/fldui/fldwrap.cxx
index a241e66fe571..bf189929abdb 100644
--- a/sw/source/uibase/fldui/fldwrap.cxx
+++ b/sw/source/uibase/fldui/fldwrap.cxx
@@ -84,7 +84,7 @@ SwFieldDlgWrapper::SwFieldDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId,
AbstractSwFieldDlg* pDlg = pFact->CreateSwFieldDlg(pB, this, _pParent);
assert(pDlg && "Dialog creation failed!");
pDlgInterface = pDlg;
- pWindow = pDlg->GetWindow();
+ SetWindow( pDlg->GetWindow() );
pDlg->Start();
}
@@ -129,7 +129,7 @@ SwFieldDataOnlyDlgWrapper::SwFieldDataOnlyDlgWrapper( vcl::Window* _pParent, sal
OSL_ENSURE(pDlg, "Dialog creation failed!");
pDlgInterface = pDlg;
- pWindow = pDlg->GetWindow();
+ SetWindow( pDlg->GetWindow() );
pDlg->ActivateDatabasePage();
pDlg->Start();
pDlg->Initialize( pInfo );