summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 13:47:09 +0200
committerNoel Grandin <noel@peralex.com>2016-08-24 08:47:57 +0200
commit70d76c8165bc9393a92fa6d0dc9922364988abe2 (patch)
tree49ead767c06dfc099a5f1fbbecb2717ed4e5effa /include/svx
parent151752f89465ff980f9a377361eb90e4180943d3 (diff)
convert OverlayType to scoped enum
Change-Id: Ic7758ec96bdf7f532b5b95048dbb7eb5f360f74a
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/sdr/overlay/overlayselection.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/sdr/overlay/overlayselection.hxx b/include/svx/sdr/overlay/overlayselection.hxx
index ed4d75a51637..4380e71e6848 100644
--- a/include/svx/sdr/overlay/overlayselection.hxx
+++ b/include/svx/sdr/overlay/overlayselection.hxx
@@ -29,11 +29,11 @@ namespace sdr
namespace overlay
{
// overlay type definition
- enum OverlayType
+ enum class OverlayType
{
- OVERLAY_INVERT,
- OVERLAY_SOLID,
- OVERLAY_TRANSPARENT
+ Invert,
+ Solid,
+ Transparent
};
class SVX_DLLPUBLIC OverlaySelection : public OverlayObject
hat need rewriting (all the @svxcore@@ ones, and the manually picked subset of @@@ and @svxcore@svx@ ones) are copied into a new file CHANGE (containing 451 lines). Then > sed -E -e 's|^@.*@.*@ ([^:]+):([0-9]+):.*$|sed -i -e "\2 s/SVX_DLLPUBLIC/SVXCORE_DLLPUBLIC/" \1|' <CHANGE >COMMANDS > . COMMANDS to do the changes. Change-Id: If9b6dd1c9e9ba2eb883dbdac4385d28c6fc8a203 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87794 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>