summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-23 16:57:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-23 20:28:15 +0200
commit4e1ed8f321074d7f7f347badf44cf48e7931f99a (patch)
tree6c18fc11c5c6db8f4c3f2b08407e7e5a19a7bc39 /sc/source/ui/optdlg
parentac1dff224e597ccbd235e41fcd918ea79727ccd2 (diff)
config dialog uses a controller now
Change-Id: I0341b0b51d638b5ea8f28d16dca87d50376873a4 Reviewed-on: https://gerrit.libreoffice.org/79417 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index 5a6f60337911..f38ef51c443a 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -184,7 +184,7 @@ bool ScTpCalcOptions::FillItemSet( SfxItemSet* rCoreAttrs )
if (svtools::executeRestartDialog(
comphelper::getProcessComponentContext(), GetFrameWeld(),
svtools::RESTART_REASON_THREADING))
- GetParentDialog()->EndDialog(RET_OK);
+ GetDialogController()->response(RET_OK);
}
if ( *pLocalOptions != *pOldOptions )
{