summaryrefslogtreecommitdiff
path: root/filter/source/svg/svgwriter.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-03 10:04:50 +0200
committerNoel Grandin <noel@peralex.com>2016-03-03 11:15:52 +0200
commit99469ae7b9e3c6311ad2d5f894345df03efe7587 (patch)
tree80be711e62770558e437ebd34d02354d88cb23e1 /filter/source/svg/svgwriter.hxx
parent57de81580dc3a9c53c43871150109181da1bb646 (diff)
loplugin:unuseddefaultparams in filter
Change-Id: Ife21ac3fc2ede30694a1c7e2f9296105aa548218
Diffstat (limited to 'filter/source/svg/svgwriter.hxx')
-rw-r--r--filter/source/svg/svgwriter.hxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx
index 28c9eae65d0b..5c0107700be4 100644
--- a/filter/source/svg/svgwriter.hxx
+++ b/filter/source/svg/svgwriter.hxx
@@ -91,7 +91,7 @@ private:
SVGAttributeWriter();
- static double ImplRound( double fVal, sal_Int32 nDecs = 3 );
+ static double ImplRound( double fVal );
public:
@@ -213,8 +213,7 @@ class SVGTextWriter
template< typename MetaBitmapActionType >
void writeBitmapPlaceholder( const MetaBitmapActionType* pAction );
void implWriteEmbeddedBitmaps();
- void writeTextPortion( const Point& rPos, const OUString& rText,
- bool bApplyMapping = true );
+ void writeTextPortion( const Point& rPos, const OUString& rText );
void implWriteTextPortion( const Point& rPos, const OUString& rText,
Color aTextColor, bool bApplyMapping );
@@ -303,24 +302,21 @@ private:
bool bApplyMapping = true );
void ImplWriteRect( const Rectangle& rRect, long nRadX = 0, long nRadY = 0,
bool bApplyMapping = true );
- void ImplWriteEllipse( const Point& rCenter, long nRadX, long nRadY,
- bool bApplyMapping = true );
+ void ImplWriteEllipse( const Point& rCenter, long nRadX, long nRadY );
void ImplWritePattern( const tools::PolyPolygon& rPolyPoly, const Hatch* pHatch, const Gradient* pGradient, sal_uInt32 nWriteFlags );
- void ImplAddLineAttr( const LineInfo &rAttrs,
- bool bApplyMapping = true );
+ void ImplAddLineAttr( const LineInfo &rAttrs );
void ImplWritePolyPolygon( const tools::PolyPolygon& rPolyPoly, bool bLineOnly,
bool bApplyMapping = true );
- void ImplWriteShape( const SVGShapeDescriptor& rShape, bool bApplyMapping = true );
+ void ImplWriteShape( const SVGShapeDescriptor& rShape );
void ImplWriteGradientEx( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient, sal_uInt32 nWriteFlags);
void ImplWriteGradientLinear( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient );
void ImplWriteGradientStop( const Color& rColor, double fOffset );
static Color ImplGetColorWithIntensity( const Color& rColor, sal_uInt16 nIntensity );
static Color ImplGetGradientColor( const Color& rStartColor, const Color& rEndColor, double fOffset );
void ImplWriteMask( GDIMetaFile& rMtf, const Point& rDestPt, const Size& rDestSize, const Gradient& rGradient, sal_uInt32 nWriteFlags );
- void ImplWriteText( const Point& rPos, const OUString& rText, const long* pDXArray, long nWidth, bool bApplyMapping = true );
+ void ImplWriteText( const Point& rPos, const OUString& rText, const long* pDXArray, long nWidth );
void ImplWriteText( const Point& rPos, const OUString& rText, const long* pDXArray, long nWidth, Color aTextColor, bool bApplyMapping );
- void ImplWriteBmp( const BitmapEx& rBmpEx, const Point& rPt, const Size& rSz, const Point& rSrcPt, const Size& rSrcSz,
- bool bApplyMapping = true );
+ void ImplWriteBmp( const BitmapEx& rBmpEx, const Point& rPt, const Size& rSz, const Point& rSrcPt, const Size& rSrcSz );
void ImplWriteActions( const GDIMetaFile& rMtf,
sal_uInt32 nWriteFlags,