diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 20:33:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-25 08:14:02 +0200 |
commit | b8db9688a4bdfbe272993ee9808c23d5d7dae879 (patch) | |
tree | e6a0db5f9503efd0926720cdf85ac9fcb16c22eb /svgio/inc | |
parent | 3ab2e7ba46eac104738ab074a7df42e1bddd4d37 (diff) |
loplugin:returnconstval in svgio
Change-Id: Idb195e43303e22ddf36a4529dd9704725c4de0e5
Reviewed-on: https://gerrit.libreoffice.org/78061
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/inc')
-rw-r--r-- | svgio/inc/svggradientnode.hxx | 14 | ||||
-rw-r--r-- | svgio/inc/svgmarkernode.hxx | 2 | ||||
-rw-r--r-- | svgio/inc/svgnode.hxx | 2 | ||||
-rw-r--r-- | svgio/inc/svgpatternnode.hxx | 2 | ||||
-rw-r--r-- | svgio/inc/svgsvgnode.hxx | 2 | ||||
-rw-r--r-- | svgio/inc/svgtoken.hxx | 4 | ||||
-rw-r--r-- | svgio/inc/svgtools.hxx | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/svgio/inc/svggradientnode.hxx b/svgio/inc/svggradientnode.hxx index 1542796b48fc..c55074f97a10 100644 --- a/svgio/inc/svggradientnode.hxx +++ b/svgio/inc/svggradientnode.hxx @@ -77,25 +77,25 @@ namespace svgio void collectGradientEntries(drawinglayer::primitive2d::SvgGradientEntryVector& aVector) const; /// x1 content - const SvgNumber getX1() const; + SvgNumber getX1() const; /// y1 content - const SvgNumber getY1() const; + SvgNumber getY1() const; /// x2 content - const SvgNumber getX2() const; + SvgNumber getX2() const; /// y2 content - const SvgNumber getY2() const; + SvgNumber getY2() const; /// Cx content - const SvgNumber getCx() const; + SvgNumber getCx() const; /// Cy content - const SvgNumber getCy() const; + SvgNumber getCy() const; /// R content - const SvgNumber getR() const; + SvgNumber getR() const; /// Fx content const SvgNumber* getFx() const; diff --git a/svgio/inc/svgmarkernode.hxx b/svgio/inc/svgmarkernode.hxx index 61098a35b740..135dc3c4fea8 100644 --- a/svgio/inc/svgmarkernode.hxx +++ b/svgio/inc/svgmarkernode.hxx @@ -70,7 +70,7 @@ namespace svgio const drawinglayer::primitive2d::Primitive2DContainer& getMarkerPrimitives() const; /// InfoProvider support for % values - virtual const basegfx::B2DRange getCurrentViewPort() const override; + virtual basegfx::B2DRange getCurrentViewPort() const override; /// viewBox content const basegfx::B2DRange* getViewBox() const { return mpViewBox.get(); } diff --git a/svgio/inc/svgnode.hxx b/svgio/inc/svgnode.hxx index 86a83e6afab6..697c8c312a38 100644 --- a/svgio/inc/svgnode.hxx +++ b/svgio/inc/svgnode.hxx @@ -160,7 +160,7 @@ namespace svgio const std::vector< std::unique_ptr<SvgNode> > & getChildren() const { return maChildren; } /// InfoProvider support for %, em and ex values - virtual const basegfx::B2DRange getCurrentViewPort() const override; + virtual basegfx::B2DRange getCurrentViewPort() const override; virtual double getCurrentFontSizeInherited() const override; virtual double getCurrentXHeightInherited() const override; diff --git a/svgio/inc/svgpatternnode.hxx b/svgio/inc/svgpatternnode.hxx index 956c8da1812e..79dc7581c590 100644 --- a/svgio/inc/svgpatternnode.hxx +++ b/svgio/inc/svgpatternnode.hxx @@ -78,7 +78,7 @@ namespace svgio const drawinglayer::primitive2d::Primitive2DContainer& getPatternPrimitives() const; /// InfoProvider support for % values - virtual const basegfx::B2DRange getCurrentViewPort() const override; + virtual basegfx::B2DRange getCurrentViewPort() const override; /// viewBox content const basegfx::B2DRange* getViewBox() const; diff --git a/svgio/inc/svgsvgnode.hxx b/svgio/inc/svgsvgnode.hxx index defb46f7c894..feb669fe7bc5 100644 --- a/svgio/inc/svgsvgnode.hxx +++ b/svgio/inc/svgsvgnode.hxx @@ -69,7 +69,7 @@ namespace svgio // The returned 'CurrentViewPort' is the viewport as it is set by this svg element // and as it is needed to resolve relative values in children // The method does not check for invalid width and height - virtual const basegfx::B2DRange getCurrentViewPort() const override; + virtual basegfx::B2DRange getCurrentViewPort() const override; /// viewBox content const basegfx::B2DRange* getViewBox() const { return mpViewBox.get(); } diff --git a/svgio/inc/svgtoken.hxx b/svgio/inc/svgtoken.hxx index ea03e8f3bb33..b03f28d2984e 100644 --- a/svgio/inc/svgtoken.hxx +++ b/svgio/inc/svgtoken.hxx @@ -184,8 +184,8 @@ namespace svgio SVGToken StrToSVGToken(const OUString& rStr, bool bCaseIndependent); - const OUString getStrTitle(); - const OUString getStrDesc(); + OUString getStrTitle(); + OUString getStrDesc(); } // end of namespace svgreader } // end of namespace svgio diff --git a/svgio/inc/svgtools.hxx b/svgio/inc/svgtools.hxx index 02c1225cfe68..a122e2d1b268 100644 --- a/svgio/inc/svgtools.hxx +++ b/svgio/inc/svgtools.hxx @@ -60,7 +60,7 @@ namespace svgio { public: virtual ~InfoProvider() {} - virtual const basegfx::B2DRange getCurrentViewPort() const = 0; + virtual basegfx::B2DRange getCurrentViewPort() const = 0; /// return font size of node inherited from parents virtual double getCurrentFontSizeInherited() const = 0; /// return xheight of node inherited from parents |