[Libreoffice-commits] core.git: cui/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 23 16:08:06 UTC 2019


 cui/source/options/optopencl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38eadd4b0714895e9b43c2341903e2e08cc1eaa6
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Sep 23 12:50:35 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Sep 23 18:07:00 2019 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;


More information about the Libreoffice-commits mailing list