diff options
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 3d18a350e4dc..1aa88f199f84 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -106,7 +106,7 @@ namespace cppcanvas eDy = dy; } - void Set (XForm f) + void Set (const XForm& f) { eM11 = f.eM11; eM12 = f.eM12; @@ -126,7 +126,7 @@ namespace cppcanvas eDy *= eDx*m12 + eDy*m22 + dy; } - void Multiply (XForm f) + void Multiply (const XForm& f) { eM11 = eM11*f.eM11 + eM12*f.eM21; eM12 = eM11*f.eM12 + eM12*f.eM22; |