diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 15:51:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-22 06:43:06 +0000 |
commit | 21907d647c58594e58fde0d6507f63f6207fe4bd (patch) | |
tree | 498386823efa6f98c5ee94948c31db231570d925 /include | |
parent | convert GetDefaultFontFlags to scoped enum (diff) | |
download | core-21907d647c58594e58fde0d6507f63f6207fe4bd.tar.gz core-21907d647c58594e58fde0d6507f63f6207fe4bd.zip |
convert VclSizeGroupMode to scoped enum
Change-Id: Id731fb3d5f9eb5ddaa3af41b010bff340f1077ce
Reviewed-on: https://gerrit.libreoffice.org/32290
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/layout.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index e1371783dff4..d487a9ed468a 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -569,12 +569,12 @@ public: virtual void Command(const CommandEvent& rCEvt) override; }; -enum VclSizeGroupMode +enum class VclSizeGroupMode { - VCL_SIZE_GROUP_NONE, - VCL_SIZE_GROUP_HORIZONTAL, - VCL_SIZE_GROUP_VERTICAL, - VCL_SIZE_GROUP_BOTH + NONE, + Horizontal, + Vertical, + Both }; class VCL_DLLPUBLIC VclSizeGroup @@ -588,7 +588,7 @@ private: public: VclSizeGroup() : m_bIgnoreHidden(false) - , m_eMode(VCL_SIZE_GROUP_HORIZONTAL) + , m_eMode(VclSizeGroupMode::Horizontal) { } void insert(vcl::Window *pWindow) |