summaryrefslogtreecommitdiff
path: root/include/vcl/svapp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-29 13:14:41 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 06:40:58 +0000
commit12aafb69fab3c7f91aa727ace19c1df7c53edd64 (patch)
tree4fb40811d3df46863a07b1bd2688570b54f56161 /include/vcl/svapp.hxx
parentf3fd69585db35dd0ba229b080705927733e8f949 (diff)
Convert DialogCancelMode to scoped enum
Change-Id: I7aca03334c6609a8729bbc88ada6ecce4309c21d Reviewed-on: https://gerrit.libreoffice.org/25607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/svapp.hxx')
-rw-r--r--include/vcl/svapp.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 7d190b9f83fa..ae1141862526 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -232,10 +232,10 @@ private:
class VCL_DLLPUBLIC Application
{
public:
- enum DialogCancelMode {
- DIALOG_CANCEL_OFF, ///< do not automatically cancel dialogs
- DIALOG_CANCEL_SILENT, ///< silently cancel any dialogs
- DIALOG_CANCEL_FATAL ///< cancel any dialogs by std::abort
+ enum class DialogCancelMode {
+ Off, ///< do not automatically cancel dialogs
+ Silent, ///< silently cancel any dialogs
+ Fatal ///< cancel any dialogs by std::abort
};
/** @name Initialization