Kaydet (Commit) 59a0fadd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: I7f26acf82f0b945bf49449dd082f79ea5b5b9d1b
üst 0a9773df
...@@ -327,7 +327,7 @@ namespace svgio ...@@ -327,7 +327,7 @@ namespace svgio
else else
{ {
// choose default mapping // choose default mapping
const basegfx::B2DHomMatrix aEmbeddingTransform(rRatio.createLinearMapping(aTarget, aViewBox)); const basegfx::B2DHomMatrix aEmbeddingTransform(SvgAspectRatio::createLinearMapping(aTarget, aViewBox));
if(!aEmbeddingTransform.isIdentity()) if(!aEmbeddingTransform.isIdentity())
{ {
......
...@@ -510,7 +510,7 @@ namespace svgio ...@@ -510,7 +510,7 @@ namespace svgio
else else
{ {
// choose default mapping // choose default mapping
aMapPrimitivesToUnitRange = rRatio.createLinearMapping(aUnitRange, *pViewBox); aMapPrimitivesToUnitRange = SvgAspectRatio::createLinearMapping(aUnitRange, *pViewBox);
} }
} }
else else
...@@ -800,7 +800,7 @@ namespace svgio ...@@ -800,7 +800,7 @@ namespace svgio
else else
{ {
// choose default mapping // choose default mapping
rMarkerTransform = rRatio.createLinearMapping(aTargetRange, aPrimitiveRange); rMarkerTransform = SvgAspectRatio::createLinearMapping(aTargetRange, aPrimitiveRange);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment