diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-23 20:10:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 10:04:17 +0200 |
commit | 0bd2ebaa039633659d0aab816d72306cc9660872 (patch) | |
tree | d53d5b0371077b818857e6ca4be0aa1f0819e8b7 /cui | |
parent | 1579cf660d4f83c8be0698fec8d1a184ff494988 (diff) |
options dialog has a controller now
Change-Id: I34b486ba54c361401327dbe8fcee007da4ca72c1
Reviewed-on: https://gerrit.libreoffice.org/79426
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.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optinet2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 657bd23ffb66..ff1e2a7bf245 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -912,7 +912,7 @@ bool OfaViewTabPage::FillItemSet( SfxItemSet* ) if( svtools::executeRestartDialog( comphelper::getProcessComponentContext(), nullptr, svtools::RESTART_REASON_OPENGL)) - GetParentDialog()->EndDialog(RET_OK); + GetDialogController()->response(RET_OK); } return bModified; diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 10c6fd9b8c7e..36cb6917599b 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -705,7 +705,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, CertPathPBHdl, weld::Button&, void) { SolarMutexGuard aGuard; if (svtools::executeRestartDialog(comphelper::getProcessComponentContext(), nullptr, svtools::RESTART_REASON_ADDING_PATH)) - GetParentDialog()->EndDialog(RET_OK); + GetDialogController()->response(RET_OK); } } |