diff options
Diffstat (limited to 'sw/source/ui/fldui/fldwrap.cxx')
-rw-r--r-- | sw/source/ui/fldui/fldwrap.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/fldui/fldwrap.cxx b/sw/source/ui/fldui/fldwrap.cxx index b8d3a53f7351..abe6b8686e8c 100644 --- a/sw/source/ui/fldui/fldwrap.cxx +++ b/sw/source/ui/fldui/fldwrap.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -63,7 +63,7 @@ SwChildWinWrapper::SwChildWinWrapper(Window *pParentWindow, USHORT nId) : IMPL_LINK( SwChildWinWrapper, UpdateHdl, void*, EMPTYARG ) { - GetWindow()->Activate(); // Dialog aktualisieren + GetWindow()->Activate(); // Dialog aktualisieren return 0; } @@ -78,7 +78,7 @@ BOOL SwChildWinWrapper::ReInitDlg(SwDocShell *) if (m_pDocSh != GetOldDocShell()) { m_aUpdateTimer.Stop(); - bRet = TRUE; // Sofortiges Update + bRet = TRUE; // Sofortiges Update } else m_aUpdateTimer.Start(); @@ -100,7 +100,7 @@ SwFldDlgWrapper::SwFldDlgWrapper( Window* _pParent, USHORT nId, { SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); - + AbstractSwFldDlg* pDlg = pFact->CreateSwFldDlg(pB, this, _pParent, DLG_FLD_INSERT ); OSL_ENSURE(pDlg, "Dialogdiet fail!"); pDlgInterface = pDlg; @@ -116,7 +116,7 @@ BOOL SwFldDlgWrapper::ReInitDlg(SwDocShell *pDocSh) { BOOL bRet; - if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == TRUE) // Sofort aktualisieren, Dok-Wechsel + if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == TRUE) // Sofort aktualisieren, Dok-Wechsel { pDlgInterface->ReInitDlg(); } @@ -147,11 +147,11 @@ SwFldDataOnlyDlgWrapper::SwFldDataOnlyDlgWrapper( Window* _pParent, USHORT nId, { SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); - + AbstractSwFldDlg* pDlg = pFact->CreateSwFldDlg(pB, this, _pParent, DLG_FLD_INSERT ); OSL_ENSURE(pDlg, "Dialogdiet fail!"); - pDlgInterface = pDlg; - + pDlgInterface = pDlg; + pWindow = pDlg->GetWindow(); pDlg->ActivateDatabasePage(); pDlg->Start(); |