diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-04 16:28:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-05 09:39:22 +0000 |
commit | 403c13487c36f4200adf0986c5d11398f719cd7a (patch) | |
tree | 21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /cppcanvas/source/inc | |
parent | 10560949f90e08fe4a04dd91c7d388c4998100e8 (diff) |
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba
Reviewed-on: https://gerrit.libreoffice.org/17506
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppcanvas/source/inc')
-rw-r--r-- | cppcanvas/source/inc/canvasgraphichelper.hxx | 3 | ||||
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 20 |
2 files changed, 0 insertions, 23 deletions
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx index a8c075a68c36..26819ff5a087 100644 --- a/cppcanvas/source/inc/canvasgraphichelper.hxx +++ b/cppcanvas/source/inc/canvasgraphichelper.hxx @@ -48,12 +48,9 @@ namespace cppcanvas // CanvasGraphic implementation virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) SAL_OVERRIDE; - virtual ::basegfx::B2DHomMatrix getTransformation() const SAL_OVERRIDE; virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) SAL_OVERRIDE; virtual void setClip() SAL_OVERRIDE; - virtual ::basegfx::B2DPolyPolygon const* getClip() const SAL_OVERRIDE; virtual void setCompositeOp( CompositeOp aOp ) SAL_OVERRIDE; - virtual CompositeOp getCompositeOp() const SAL_OVERRIDE; protected: // for our clients diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 2ccd4a6a3ace..6c627282d43f 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -96,16 +96,6 @@ namespace cppcanvas eDx = eDy = eM12 = eM21 = 0.0f; } - void Set (float m11, float m12, float dx, float m21, float m22, float dy) - { - eM11 = m11; - eM12 = m12; - eDx = dx; - eM21 = m21; - eM22 = m22; - eDy = dy; - } - void Set (const XForm& f) { eM11 = f.eM11; @@ -116,16 +106,6 @@ namespace cppcanvas eDy = f.eDy; } - void Multiply (float m11, float m12, float dx, float m21, float m22, float dy) - { - eM11 = eM11*m11 + eM12*m21; - eM12 = eM11*m12 + eM12*m22; - eM21 = eM21*m11 + eM22*m21; - eM22 = eM21*m12 + eM22*m22; - eDx *= eDx*m11 + eDy*m21 + dx; - eDy *= eDx*m12 + eDy*m22 + dy; - } - void Multiply (const XForm& f) { eM11 = eM11*f.eM11 + eM12*f.eM21; |