summaryrefslogtreecommitdiff
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-02 16:34:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 05:54:31 +0000
commitfe3e1067bfa8d62d2a43c7ea227d87327ee020d2 (patch)
tree6759711f55c23b85b6c2bc3916c4a87b01f7b627 /include/drawinglayer
parent8cf59c674326d93de049ffe2c1d73d7f32e70d37 (diff)
loplugin:countusersofdefaultparams in include/drawinglayer..i18nlangtag
Change-Id: I081ed66a88fc11648f5c63919c3de2a71f1afd59 Reviewed-on: https://gerrit.libreoffice.org/31556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/animation/animationtiming.hxx6
-rw-r--r--include/drawinglayer/attribute/fillgraphicattribute.hxx2
-rw-r--r--include/drawinglayer/primitive2d/clippedborderlineprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/svggradientprimitive2d.hxx10
-rw-r--r--include/drawinglayer/texture/texture3d.hxx4
5 files changed, 12 insertions, 12 deletions
diff --git a/include/drawinglayer/animation/animationtiming.hxx b/include/drawinglayer/animation/animationtiming.hxx
index 59c3960008dc..4514349744aa 100644
--- a/include/drawinglayer/animation/animationtiming.hxx
+++ b/include/drawinglayer/animation/animationtiming.hxx
@@ -56,7 +56,7 @@ namespace drawinglayer
double mfState;
public:
- AnimationEntryFixed(double fDuration, double fState = 0.0);
+ AnimationEntryFixed(double fDuration, double fState);
virtual ~AnimationEntryFixed() override;
virtual AnimationEntry* clone() const override;
@@ -76,7 +76,7 @@ namespace drawinglayer
double mfStop;
public:
- AnimationEntryLinear(double fDuration, double fFrequency = 250.0, double fStart = 0.0, double fStop = 1.0);
+ AnimationEntryLinear(double fDuration, double fFrequency, double fStart, double fStop);
virtual ~AnimationEntryLinear() override;
virtual AnimationEntry* clone() const override;
@@ -115,7 +115,7 @@ namespace drawinglayer
sal_uInt32 mnRepeat;
public:
- AnimationEntryLoop(sal_uInt32 nRepeat = 0xffffffff);
+ AnimationEntryLoop(sal_uInt32 nRepeat);
virtual ~AnimationEntryLoop() override;
virtual AnimationEntry* clone() const override;
diff --git a/include/drawinglayer/attribute/fillgraphicattribute.hxx b/include/drawinglayer/attribute/fillgraphicattribute.hxx
index 87304c6cd71a..a2a217445950 100644
--- a/include/drawinglayer/attribute/fillgraphicattribute.hxx
+++ b/include/drawinglayer/attribute/fillgraphicattribute.hxx
@@ -53,7 +53,7 @@ namespace drawinglayer
FillGraphicAttribute(
const Graphic& rGraphic,
const basegfx::B2DRange& rGraphicRange,
- bool bTiling = false,
+ bool bTiling,
double fOffsetX = 0.0,
double fOffsetY = 0.0);
FillGraphicAttribute(const FillGraphicAttribute& rCandidate);
diff --git a/include/drawinglayer/primitive2d/clippedborderlineprimitive2d.hxx b/include/drawinglayer/primitive2d/clippedborderlineprimitive2d.hxx
index 62bd9813698a..5b4a1414f747 100644
--- a/include/drawinglayer/primitive2d/clippedborderlineprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/clippedborderlineprimitive2d.hxx
@@ -47,7 +47,7 @@ namespace drawinglayer
const basegfx::BColor& rRGBColorGap,
bool bHasGapColor,
const short nStyle,
- double fPatternScale = 1.0 );
+ double fPatternScale );
/// compare operator
virtual bool operator==(const BasePrimitive2D& rPrimitive) const override;
diff --git a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
index 1ac5b2f978c5..8bef69e49825 100644
--- a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
@@ -44,7 +44,7 @@ namespace drawinglayer
double mfOpacity;
public:
- SvgGradientEntry(double fOffset, const basegfx::BColor& rColor = basegfx::BColor(0.0, 0.0, 0.0), double fOpacity = 1.0)
+ SvgGradientEntry(double fOffset, const basegfx::BColor& rColor, double fOpacity)
: mfOffset(fOffset),
maColor(rColor),
mfOpacity(fOpacity)
@@ -155,7 +155,7 @@ namespace drawinglayer
const SvgGradientEntryVector& rGradientEntries,
const basegfx::B2DPoint& rStart,
bool bUseUnitCoordinates,
- SpreadMethod aSpreadMethod = SpreadMethod::Pad);
+ SpreadMethod aSpreadMethod);
virtual ~SvgGradientHelper();
/// data read access
@@ -208,7 +208,7 @@ namespace drawinglayer
const basegfx::B2DPoint& rStart,
const basegfx::B2DPoint& rEnd,
bool bUseUnitCoordinates,
- SpreadMethod aSpreadMethod = SpreadMethod::Pad);
+ SpreadMethod aSpreadMethod);
virtual ~SvgLinearGradientPrimitive2D() override;
/// data read access
@@ -276,8 +276,8 @@ namespace drawinglayer
const basegfx::B2DPoint& rStart,
double fRadius,
bool bUseUnitCoordinates,
- SpreadMethod aSpreadMethod = SpreadMethod::Pad,
- const basegfx::B2DPoint* pFocal = nullptr);
+ SpreadMethod aSpreadMethod,
+ const basegfx::B2DPoint* pFocal);
virtual ~SvgRadialGradientPrimitive2D() override;
/// data read access
diff --git a/include/drawinglayer/texture/texture3d.hxx b/include/drawinglayer/texture/texture3d.hxx
index dd21e0664ff7..70aefdc9a924 100644
--- a/include/drawinglayer/texture/texture3d.hxx
+++ b/include/drawinglayer/texture/texture3d.hxx
@@ -107,8 +107,8 @@ namespace drawinglayer
GeoTexSvxBitmapExTiled(
const BitmapEx& rBitmapEx,
const basegfx::B2DRange& rRange,
- double fOffsetX = 0.0,
- double fOffsetY = 0.0);
+ double fOffsetX,
+ double fOffsetY);
virtual void modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor, double& rfOpacity) const override;
virtual void modifyOpacity(const basegfx::B2DPoint& rUV, double& rfOpacity) const override;