summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-23 12:50:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-23 18:07:00 +0200
commit38eadd4b0714895e9b43c2341903e2e08cc1eaa6 (patch)
tree8e75fcd913fb11dbe487e785d83e8a214cbe6aa1
parentb02f8f3f9feae18db17312eafc8b496079a5872f (diff)
config dialog uses a controller now
Change-Id: I3751a2c08c88638a9843da658b829abf1ffef14c Reviewed-on: https://gerrit.libreoffice.org/79408 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--cui/source/options/optopencl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index b206d059b5e2..8a393d067678 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -70,7 +70,7 @@ bool SvxOpenCLTabPage::FillItemSet( SfxItemSet* )
SolarMutexGuard aGuard;
if (svtools::executeRestartDialog(comphelper::getProcessComponentContext(), nullptr,
svtools::RESTART_REASON_OPENCL))
- GetParentDialog()->EndDialog(RET_OK);
+ GetDialogController()->response(RET_OK);
}
return bModified;