From 59a0fadda747a3220cd3a25cf4dac4ef6e7d7c97 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 13 Jun 2014 17:52:00 +0200 Subject: loplugin:staticcall Change-Id: I7f26acf82f0b945bf49449dd082f79ea5b5b9d1b --- svgio/source/svgreader/svgimagenode.cxx | 2 +- svgio/source/svgreader/svgstyleattributes.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'svgio') 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); } } -- cgit