summaryrefslogtreecommitdiff
path: root/include/oox/ole
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 14:51:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-30 08:43:27 +0000
commit34edd437e3ff11c1184062d75745054feb24ecdc (patch)
treedcdacf50a3446fdcd1b5b7d4ed9e75e23d5314b2 /include/oox/ole
parentc88d5f0268b242793ab5baa45949f695b77c2f78 (diff)
convert ApiTransparencyMode to scoped enum
and drop unused API_TRANSPARENCY_PAINTTRANSPARENT enumerator Change-Id: I7abd0f15d1c9a1dc4aeff47e5b3c782d5e8c08e1 Reviewed-on: https://gerrit.libreoffice.org/35843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/ole')
-rw-r--r--include/oox/ole/axcontrol.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index 39de87698a86..10cdcc17720d 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -173,11 +173,10 @@ enum ApiControlType
/** Specifies how a form control supports transparent background. */
-enum ApiTransparencyMode
+enum class ApiTransparencyMode
{
- API_TRANSPARENCY_NOTSUPPORTED, ///< Control does not support transparency.
- API_TRANSPARENCY_VOID, ///< Transparency is enabled by missing fill color.
- API_TRANSPARENCY_PAINTTRANSPARENT ///< Transparency is enabled by the 'PaintTransparent' property.
+ NotSupported, ///< Control does not support transparency.
+ Void, ///< Transparency is enabled by missing fill color.
};
/** Specifies how a form control supports the DefaultState property. */