summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-23 16:15:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-23 20:28:41 +0200
commit7d1803d346ce4bf57d95e84563253c592caf4b3c (patch)
tree4afdca08910c5a5a56f9d6d9c8a20f34c32187cf /cui
parent4e1ed8f321074d7f7f347badf44cf48e7931f99a (diff)
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>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 1d95f8ab8720..657bd23ffb66 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