diff options
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgimagenode.cxx | 2 | ||||
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx index ba7859e54437..951d72b8edcb 100644 --- a/svgio/source/svgreader/svgimagenode.cxx +++ b/svgio/source/svgreader/svgimagenode.cxx @@ -327,7 +327,7 @@ namespace svgio else { // choose default mapping - const basegfx::B2DHomMatrix aEmbeddingTransform(rRatio.createLinearMapping(aTarget, aViewBox)); + const basegfx::B2DHomMatrix aEmbeddingTransform(SvgAspectRatio::createLinearMapping(aTarget, aViewBox)); if(!aEmbeddingTransform.isIdentity()) { diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 3e14c0317715..5f3edd1be61b 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -510,7 +510,7 @@ namespace svgio else { // choose default mapping - aMapPrimitivesToUnitRange = rRatio.createLinearMapping(aUnitRange, *pViewBox); + aMapPrimitivesToUnitRange = SvgAspectRatio::createLinearMapping(aUnitRange, *pViewBox); } } else @@ -800,7 +800,7 @@ namespace svgio else { // choose default mapping - rMarkerTransform = rRatio.createLinearMapping(aTargetRange, aPrimitiveRange); + rMarkerTransform = SvgAspectRatio::createLinearMapping(aTargetRange, aPrimitiveRange); } } |