diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-04-28 13:08:07 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-04-30 12:20:52 +0200 |
commit | 91daf2c6b1661f27df6ee41f7395ed0fcb677cf0 (patch) | |
tree | 4a3109b73322be255f1afe36f181136251823fb1 /svgio/source/svgreader/svggradientstopnode.cxx | |
parent | 560c9ec9e27e771d61f1396a1c87dd38e29099c1 (diff) |
svgio: change SVGToken enum to enum class
Change-Id: Ic2618c91b1793463b7ce0a42ec1db100d11acfa4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114898
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svgio/source/svgreader/svggradientstopnode.cxx')
-rw-r--r-- | svgio/source/svgreader/svggradientstopnode.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svggradientstopnode.cxx b/svgio/source/svgreader/svggradientstopnode.cxx index f271cddc83c3..980333576e92 100644 --- a/svgio/source/svgreader/svggradientstopnode.cxx +++ b/svgio/source/svgreader/svggradientstopnode.cxx @@ -24,7 +24,7 @@ namespace svgio::svgreader SvgGradientStopNode::SvgGradientStopNode( SvgDocument& rDocument, SvgNode* pParent) - : SvgNode(SVGTokenStop, rDocument, pParent), + : SvgNode(SVGToken::Stop, rDocument, pParent), maSvgStyleAttributes(*this), maOffset() { @@ -50,12 +50,12 @@ namespace svgio::svgreader // parse own switch(aSVGToken) { - case SVGTokenStyle: + case SVGToken::Style: { readLocalCssStyle(aContent); break; } - case SVGTokenOffset: + case SVGToken::Offset: { SvgNumber aNum; |