diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-31 16:50:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-01 22:45:31 +0200 |
commit | a7862a61deb8e85d835f6a9c620747c3bb4d36f4 (patch) | |
tree | 4d009861140c1f7b1b8ae1c7ad28870a4c0d5882 /sw | |
parent | 2a1ebc88ef5f8d45f6277f154e1c191f1f7b3bbd (diff) |
weld SvxThesaurusDialog
Change-Id: I09a7b4dcd43af061d0e4be42a7b6a2ebf2331d0d
Reviewed-on: https://gerrit.libreoffice.org/73282
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index 28618e673aeb..28fad568e8c1 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -578,7 +578,7 @@ void SwView::StartThesaurus() SwWait aWait( *GetDocShell(), true ); // load library with dialog only on demand ... SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - pDlg.reset(pFact->CreateThesaurusDialog(&GetEditWin(), xThes, aTmp, eLang)); + pDlg.reset(pFact->CreateThesaurusDialog(GetEditWin().GetFrameWeld(), xThes, aTmp, eLang)); } if (pDlg) @@ -590,6 +590,7 @@ void SwView::StartThesaurus() InsertThesaurusSynonym(pDlg->GetWord(), aTmp, bSelection); pVOpt->SetIdle(bOldIdle); + pDlg->disposeOnce(); }); } } |