summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 09:09:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 11:09:03 +0200
commit0ddf3e0a628599d01356cb5262b93faca073ee9f (patch)
treee0b1a75ffb25f77156ad99c4627555e9a17b25f7 /svgio
parentb5d5032ce9b40cdca233f6f8951fa056262ec041 (diff)
loplugin:constfields in stoc..svgio
Change-Id: Icfd936fe9b83e0e122af5b09f7ed6dde2ead4400 Reviewed-on: https://gerrit.libreoffice.org/61512 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/inc/svgcharacternode.hxx2
-rw-r--r--svgio/inc/svgnode.hxx2
-rw-r--r--svgio/inc/svgpolynode.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/svgio/inc/svgcharacternode.hxx b/svgio/inc/svgcharacternode.hxx
index 042a412d3ebd..18aa1aeb7697 100644
--- a/svgio/inc/svgcharacternode.hxx
+++ b/svgio/inc/svgcharacternode.hxx
@@ -96,7 +96,7 @@ namespace svgio
// advancing rotation index
sal_uInt32 mnRotationIndex;
- bool mbLengthAdjust : 1; // true = spacing, false = spacingAndGlyphs
+ bool const mbLengthAdjust : 1; // true = spacing, false = spacingAndGlyphs
bool mbAbsoluteX : 1;
public:
diff --git a/svgio/inc/svgnode.hxx b/svgio/inc/svgnode.hxx
index 1f08f5fa5acf..22df883b22b3 100644
--- a/svgio/inc/svgnode.hxx
+++ b/svgio/inc/svgnode.hxx
@@ -84,7 +84,7 @@ namespace svgio
{
private:
/// basic data, Type, document we belong to and parent (if not root)
- SVGToken maType;
+ SVGToken const maType;
SvgDocument& mrDocument;
const SvgNode* mpParent;
const SvgNode* mpAlternativeParent;
diff --git a/svgio/inc/svgpolynode.hxx b/svgio/inc/svgpolynode.hxx
index 5e3e27d78888..edb4553494d6 100644
--- a/svgio/inc/svgpolynode.hxx
+++ b/svgio/inc/svgpolynode.hxx
@@ -38,7 +38,7 @@ namespace svgio
std::unique_ptr<basegfx::B2DPolygon> mpPolygon;
std::unique_ptr<basegfx::B2DHomMatrix> mpaTransform;
- bool mbIsPolyline : 1; // true = polyline, false = polygon
+ bool const mbIsPolyline : 1; // true = polyline, false = polygon
public:
SvgPolyNode(