From a7862a61deb8e85d835f6a9c620747c3bb4d36f4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 31 May 2019 16:50:35 +0100 Subject: weld SvxThesaurusDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I09a7b4dcd43af061d0e4be42a7b6a2ebf2331d0d Reviewed-on: https://gerrit.libreoffice.org/73282 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- editeng/source/editeng/impedit4.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editeng/source/editeng/impedit4.cxx') diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 79ac6acbc61d..d3f23c6ff786 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -2429,7 +2429,8 @@ EESpellState ImpEditEngine::StartThesaurus( EditView* pEditView ) return EESpellState::ErrorFound; EditAbstractDialogFactory* pFact = EditAbstractDialogFactory::Create(); - ScopedVclPtr xDlg(pFact->CreateThesaurusDialog( pEditView->GetWindow(), xThes, aWord, GetLanguage( aCurSel.Max() ) )); + ScopedVclPtr xDlg(pFact->CreateThesaurusDialog(pEditView->GetWindow()->GetFrameWeld(), xThes, + aWord, GetLanguage( aCurSel.Max() ) )); if (xDlg->Execute() == RET_OK) { // Replace Word... -- cgit v1.2.3