summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:33 +0200
commit59a0fadda747a3220cd3a25cf4dac4ef6e7d7c97 (patch)
treec92b4899a8730941fc7db0bf5824e718843ca3a1 /svgio
parent0a9773df878411eaf8e701b6bda42b7fe39fde45 (diff)
loplugin:staticcall
Change-Id: I7f26acf82f0b945bf49449dd082f79ea5b5b9d1b
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgimagenode.cxx2
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx4
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);
}
}