loplugin:staticcall

Change-Id: I7f26acf82f0b945bf49449dd082f79ea5b5b9d1b
This commit is contained in:
Stephan Bergmann 2014-06-13 17:52:00 +02:00
parent 0a9773df87
commit 59a0fadda7
2 changed files with 3 additions and 3 deletions

View file

@ -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())
{

View file

@ -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);
}
}