diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-20 14:05:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-22 06:32:35 +0000 |
commit | e929194317a7debb1c5467282230cbbabe61a710 (patch) | |
tree | 89f7bfe3a00003c0fa96113b77abbf76c92f80bf /vcl/inc/osx | |
parent | edcd1d5a9c88455fd1d52ab25815fc8d439f31ec (diff) |
convert POINTER constants to scoped enum
Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19
Reviewed-on: https://gerrit.libreoffice.org/15825
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc/osx')
-rw-r--r-- | vcl/inc/osx/saldata.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/osx/saldata.hxx b/vcl/inc/osx/saldata.hxx index babb1b44301a..fc8d3e82779a 100644 --- a/vcl/inc/osx/saldata.hxx +++ b/vcl/inc/osx/saldata.hxx @@ -39,6 +39,7 @@ #include <map> #include <unordered_set> #include <vector> +#include <o3tl/enumarray.hxx> #include <cstdio> #include <cstdarg> @@ -83,7 +84,7 @@ public: CGColorSpaceRef mxRGBSpace; CGColorSpaceRef mxGraySpace; - std::vector< NSCursor* > maCursors; + o3tl::enumarray< PointerStyle, NSCursor* > maCursors; std::vector< NSMenuItem* > maFallbackMenu; std::map< NSEvent*, bool > maKeyEventAnswer; |