diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-02 18:21:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-04 17:33:06 +0100 |
commit | 4d83c24cdd433d5c63800290e2da6317ae12111c (patch) | |
tree | bfd4c863f0f79d40ac1671812fef1976ca4a9c85 /sw/source/uibase/dialog | |
parent | 628e96ce1fce194b30a5c2912feb8b7ec0328db0 (diff) |
reweld SwWordCountFloatDlg
fixing up the bit that failed the last time
Change-Id: I235f8f92cbc0c3e31837e01a9b094580c6f5aecf
Reviewed-on: https://gerrit.libreoffice.org/62786
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/dialog')
-rw-r--r-- | sw/source/uibase/dialog/wordcountwrapper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/dialog/wordcountwrapper.cxx b/sw/source/uibase/dialog/wordcountwrapper.cxx index 090410509a0d..2a205fb3bf12 100644 --- a/sw/source/uibase/dialog/wordcountwrapper.cxx +++ b/sw/source/uibase/dialog/wordcountwrapper.cxx @@ -14,15 +14,15 @@ SFX_IMPL_CHILDWINDOW_WITHID(SwWordCountWrapper, FN_WORDCOUNT_DIALOG) -SwWordCountWrapper::SwWordCountWrapper( vcl::Window *pParentWindow, +SwWordCountWrapper::SwWordCountWrapper(vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings* pBindings, - SfxChildWinInfo* pInfo ) : - SfxChildWindow(pParentWindow, nId) + SfxChildWinInfo* pInfo ) + : SfxChildWindow(pParentWindow, nId) { SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); - xAbstDlg.reset(pFact->CreateSwWordCountDialog(pBindings, this, pParentWindow, pInfo)); - SetWindow(xAbstDlg->GetWindow()); + xAbstDlg.reset(pFact->CreateSwWordCountDialog(pBindings, this, pParentWindow->GetFrameWeld(), pInfo)); + SetController(xAbstDlg->GetController()); } SwWordCountWrapper::~SwWordCountWrapper() |