summaryrefslogtreecommitdiff
path: root/svgio/source/svguno/xsvgparser.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-04-30 23:01:57 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-05-01 05:05:27 +0200
commit83ff99bae3034e6ae029475dd0cf0ecc64756f6a (patch)
tree05cea4b713f0a6ae7ddce51c0ec8bd0a09a11228 /svgio/source/svguno/xsvgparser.cxx
parentbd0c965b1ba9a15497f92102d5d11c84df091b2f (diff)
convert enums to enum classes in svgnode.hxx
converted XmlSpace, Display Change-Id: I4aced2d7c2f6fcb4adc59949a6ac22d4ddd375a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114953 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svgio/source/svguno/xsvgparser.cxx')
-rw-r--r--svgio/source/svguno/xsvgparser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx
index ddd9d20cd74c..7e8f8abe4439 100644
--- a/svgio/source/svguno/xsvgparser.cxx
+++ b/svgio/source/svguno/xsvgparser.cxx
@@ -131,7 +131,7 @@ namespace svgio::svgreader
// decompose to primitives
for(std::unique_ptr<SvgNode> const & pCandidate : pSvgDocHdl->getSvgDocument().getSvgNodeVector())
{
- if(Display_none != pCandidate->getDisplay())
+ if (Display::None != pCandidate->getDisplay())
{
pCandidate->decomposeSvgNode(aRetval, false);
}
@@ -160,7 +160,7 @@ namespace svgio::svgreader
// decompose to primitives
for (std::unique_ptr<SvgNode> const & pCandidate : pSvgDocHdl->getSvgDocument().getSvgNodeVector())
{
- if (Display_none != pCandidate->getDisplay())
+ if (Display::None != pCandidate->getDisplay())
{
mpVisitor = std::make_shared<SvgDrawVisitor>();
pCandidate->accept(*mpVisitor);