Resolves: tdf#127683 options dialog has a controller now
Change-Id: I1143bb27f524960e44aa2cdb76f063a9b93d42be
Reviewed-on: https://gerrit.libreoffice.org/79415
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 1d95f8a..657bd23 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1317,9 +1317,9 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet )
// display info
SolarMutexGuard aGuard;
if (svtools::executeRestartDialog(
comphelper::getProcessComponentContext(), GetFrameWeld(),
comphelper::getProcessComponentContext(), GetDialogFrameWeld(),
svtools::RESTART_REASON_LANGUAGE_CHANGE))
GetParentDialog()->EndDialog(RET_OK);
GetDialogController()->response(RET_OK);
// tell quickstarter to stop being a veto listener