diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-10-18 13:54:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-10-18 21:50:43 +0200 |
commit | d0e77848853d60f01308df309d73fa2d7389d0ce (patch) | |
tree | 19f377dfcf600736cf960aea025f0b6a73cc3a31 /svgio/inc | |
parent | ca341bbe44169135958d7a0b28feaed7d1aa11d3 (diff) |
Turn SvgMarkerNode::MarkerUnits into scoped enum
...to avoid -Werror,-Wshadow from Clang trunk with
<https://reviews.llvm.org/D52400> "Improve -Wshadow warnings with enumerators",
warning about shadowing of userSpaceOnUse in enum SvgUnits in
svgio/inc/svgtools.hxx
Change-Id: Ie1438e6ad0f73c73ad643157e5f8366a6e3f6851
Reviewed-on: https://gerrit.libreoffice.org/61933
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svgio/inc')
-rw-r--r-- | svgio/inc/svgmarkernode.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/inc/svgmarkernode.hxx b/svgio/inc/svgmarkernode.hxx index 23d768cc8f7b..61098a35b740 100644 --- a/svgio/inc/svgmarkernode.hxx +++ b/svgio/inc/svgmarkernode.hxx @@ -31,7 +31,7 @@ namespace svgio class SvgMarkerNode : public SvgNode { public: - enum MarkerUnits + enum class MarkerUnits { strokeWidth, userSpaceOnUse |