summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-12 15:24:47 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-12 16:20:47 +0100
commit2b6bd096f5bd9d250e4590d7150190086ad282b2 (patch)
treeceef4d8404170bffceecf5cfa9ab1ff4db251dd2 /include
parenttdf#69569 implement proposed change to ODF1.2 part 2 ยง4.11.7.7 (diff)
downloadcore-2b6bd096f5bd9d250e4590d7150190086ad282b2.tar.gz
core-2b6bd096f5bd9d250e4590d7150190086ad282b2.zip
tdf#104277 follow-up: use svtools::executeRestartDialog
This harmonizes this setting's prompt with other places asking for restart. Related obsolete strings are removed. Change-Id: I2da63585747056714eb688681194acd35550e1c7 Reviewed-on: https://gerrit.libreoffice.org/65022 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/restartdialog.hxx25
1 files changed, 15 insertions, 10 deletions
diff --git a/include/svtools/restartdialog.hxx b/include/svtools/restartdialog.hxx
index 750542a37459..29a7673d8dcd 100644
--- a/include/svtools/restartdialog.hxx
+++ b/include/svtools/restartdialog.hxx
@@ -23,37 +23,42 @@ namespace com { namespace sun { namespace star { namespace uno {
namespace svtools {
enum RestartReason {
- RESTART_REASON_JAVA,
// "For the selected Java runtime environment to work properly,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_PDF_AS_STANDARD_JOB_FORMAT,
+ RESTART_REASON_JAVA,
// For the modified default print job format to take effect,
// %PRODUCTNAME must be restarted.
- RESTART_REASON_BIBLIOGRAPHY_INSTALL,
+ RESTART_REASON_PDF_AS_STANDARD_JOB_FORMAT,
// "For the bibliography to work properly,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_MAILMERGE_INSTALL,
+ RESTART_REASON_BIBLIOGRAPHY_INSTALL,
// "For the mail merge to work properly,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_LANGUAGE_CHANGE,
+ RESTART_REASON_MAILMERGE_INSTALL,
// "For the updated language settings to take effect,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_ADDING_PATH,
+ RESTART_REASON_LANGUAGE_CHANGE,
// "For the added path to take effect,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_ASSIGNING_JAVAPARAMETERS,
+ RESTART_REASON_ADDING_PATH,
// "For the assigned java parameters to take effect,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_ASSIGNING_FOLDERS,
+ RESTART_REASON_ASSIGNING_JAVAPARAMETERS,
// "For the assigned folders and archives to take effect,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_EXP_FEATURES,
+ RESTART_REASON_ASSIGNING_FOLDERS,
// "For the modified experimental features to take effect,
// %PRODUCTNAME must be restarted."
- RESTART_REASON_EXTENSION_INSTALL,
+ RESTART_REASON_EXP_FEATURES,
// "For the extension to work properly,
// %PRODUCTNAME must be restarted."
+ RESTART_REASON_EXTENSION_INSTALL,
+ // For the OpenGL changes to take effect,
+ // %PRODUCTNAME must be restarted.
RESTART_REASON_OPENGL,
+ // For the OpenCL changes to take effect,
+ // %PRODUCTNAME must be restarted.
+ RESTART_REASON_OPENCL,
// No particular reason
RESTART_REASON_NONE
};