diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-24 09:21:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 08:40:00 +0200 |
commit | 492a8c34cc71c7becb59e90ffde71b9072ebab2c (patch) | |
tree | 16d0aecf763e2e87c0c05115bd2bd928b9d35a0c /include | |
parent | b8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 (diff) |
convert InitWindowFacet to typed_flags
Change-Id: I9bd230997aa58672114dffc42a22ad2802bbeaf8
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/gridctrl.hxx | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index 6a66085c6bf7..d8f1ad0b1e67 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -36,6 +36,7 @@ #include <comphelper/propmultiplex.hxx> #include <svtools/transfer.hxx> #include <svx/svxdllapi.h> +#include <o3tl/typed_flags_set.hxx> #include <vector> class DbGridControl; @@ -114,14 +115,18 @@ protected: // InitWindowFacet, describing which aspect of a column's Window to (re-)initialize -enum InitWindowFacet +enum class InitWindowFacet { - InitFontFacet = 0x01, - InitForeground = 0x02, - InitBackground = 0x04, - InitWritingMode = 0x08, - InitAll = 0xFF + Font = 0x01, + Foreground = 0x02, + Background = 0x04, + WritingMode = 0x08, + All = 0x0F }; +namespace o3tl +{ + template<> struct typed_flags<InitWindowFacet> : is_typed_flags<InitWindowFacet, 0x0f> {}; +} class FmXGridSourcePropListener; |