summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgnode.cxx')
-rw-r--r--svgio/source/svgreader/svgnode.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index 82cd4d6d8014..ac0c98a42000 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -612,7 +612,7 @@ namespace svgio::svgreader
double SvgNode::getCurrentFontSize() const
{
if(getSvgStyleAttributes())
- return getSvgStyleAttributes()->getFontSizeNumber().solve(*this, xcoordinate);
+ return getSvgStyleAttributes()->getFontSizeNumber().solve(*this, NumberType::xcoordinate);
return getCurrentFontSizeInherited();
}
@@ -633,7 +633,7 @@ namespace svgio::svgreader
{
if(getSvgStyleAttributes())
// for XHeight, use FontSize currently
- return getSvgStyleAttributes()->getFontSizeNumber().solve(*this, ycoordinate);
+ return getSvgStyleAttributes()->getFontSizeNumber().solve(*this, NumberType::ycoordinate);
return getCurrentXHeightInherited();
}