summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-15 10:40:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-16 14:43:25 +0200
commit2ba9f793c7e80a3bed9aceb3281d55ddc7957f85 (patch)
tree239f53bb2234516baf41b482293fca06fceff4e3 /include/editeng
parent70e552065339f1f7ab14f991f3e840b5461e609e (diff)
convert SvxTimeType to scoped enum
Change-Id: Ic5ca8c50ccd74837cd0521a13e1f5eaa8e326ff3 Reviewed-on: https://gerrit.libreoffice.org/42344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/flditem.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx
index d40f8e30766c..feacfafe25c4 100644
--- a/include/editeng/flditem.hxx
+++ b/include/editeng/flditem.hxx
@@ -240,7 +240,10 @@ public:
};
-enum SvxTimeType { SVXTIMETYPE_FIX, SVXTIMETYPE_VAR };
+enum class SvxTimeType {
+ Fix,
+ Var
+};
enum SvxTimeFormat { SVXTIMEFORMAT_APPDEFAULT = 0, // Set as in App
SVXTIMEFORMAT_SYSTEM, // Set as in System
SVXTIMEFORMAT_STANDARD,