loplugin:staticcall
Change-Id: I7f26acf82f0b945bf49449dd082f79ea5b5b9d1b
This commit is contained in:
parent
0a9773df87
commit
59a0fadda7
2 changed files with 3 additions and 3 deletions
|
@ -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())
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue