summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-13 14:24:01 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-13 14:22:28 +0100
commit0fa14d58457e9418ff756a0efd66e365c4403a67 (patch)
treebc399a39f873885743edafd739232b2cd8fb0c49 /include/svtools
parent340edbc5431293469ff2416b8f7f695508b07470 (diff)
tdf#121180: close Options dialog when restart is confirmed
Change-Id: Ieb6e62ca83921abed6b6432d70c6717dadfaaa34 Reviewed-on: https://gerrit.libreoffice.org/65090 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/restartdialog.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/restartdialog.hxx b/include/svtools/restartdialog.hxx
index 27f756b89e3f..932a03271a1e 100644
--- a/include/svtools/restartdialog.hxx
+++ b/include/svtools/restartdialog.hxx
@@ -63,8 +63,8 @@ enum RestartReason {
RESTART_REASON_NONE
};
-// Must be called with the solar mutex locked:
-SVT_DLLPUBLIC void executeRestartDialog(
+// Must be called with the solar mutex locked; returns if restart was initiated:
+SVT_DLLPUBLIC bool executeRestartDialog(
css::uno::Reference< css::uno::XComponentContext > const & context,
weld::Window* parent, RestartReason reason);