diff options
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(); }); } } |