summaryrefslogtreecommitdiff
path: root/svgio/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 12:21:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 06:14:11 +0000
commit58072c5a7f409cd500ecdc4e81a8f536aa3dda59 (patch)
tree124ea6233c190f9d820b35f79663a585963c2538 /svgio/source
parent40fc2c1a0d2ebdf47131651045107c9d5abb850d (diff)
loplugin:expandablemethodds in svgio
Change-Id: Iac2aa6dae56d96819589d198be5875ecfe14f26f Reviewed-on: https://gerrit.libreoffice.org/30056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/source')
-rw-r--r--svgio/source/svgreader/svgcirclenode.cxx6
-rw-r--r--svgio/source/svgreader/svgellipsenode.cxx8
-rw-r--r--svgio/source/svgreader/svggradientnode.cxx18
-rw-r--r--svgio/source/svgreader/svggradientstopnode.cxx2
-rw-r--r--svgio/source/svgreader/svgimagenode.cxx12
-rw-r--r--svgio/source/svgreader/svglinenode.cxx8
-rw-r--r--svgio/source/svgreader/svgmarkernode.cxx12
-rw-r--r--svgio/source/svgreader/svgmasknode.cxx12
-rw-r--r--svgio/source/svgreader/svgpathnode.cxx2
-rw-r--r--svgio/source/svgreader/svgpatternnode.cxx10
-rw-r--r--svgio/source/svgreader/svgpolynode.cxx6
-rw-r--r--svgio/source/svgreader/svgrectnode.cxx12
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx36
-rw-r--r--svgio/source/svgreader/svgsvgnode.cxx12
-rw-r--r--svgio/source/svgreader/svgsymbolnode.cxx2
-rw-r--r--svgio/source/svgreader/svgtextnode.cxx2
-rw-r--r--svgio/source/svgreader/svgtextpathnode.cxx2
-rw-r--r--svgio/source/svgreader/svgusenode.cxx8
18 files changed, 85 insertions, 85 deletions
diff --git a/svgio/source/svgreader/svgcirclenode.cxx b/svgio/source/svgreader/svgcirclenode.cxx
index 2bbbffb7d7f4..d950632286bf 100644
--- a/svgio/source/svgreader/svgcirclenode.cxx
+++ b/svgio/source/svgreader/svgcirclenode.cxx
@@ -69,7 +69,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setCx(aNum);
+ maCx = aNum;
}
break;
}
@@ -79,7 +79,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setCy(aNum);
+ maCy = aNum;
}
break;
}
@@ -91,7 +91,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setR(aNum);
+ maR = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svgellipsenode.cxx b/svgio/source/svgreader/svgellipsenode.cxx
index 9fab41512a1e..1a021acbdbad 100644
--- a/svgio/source/svgreader/svgellipsenode.cxx
+++ b/svgio/source/svgreader/svgellipsenode.cxx
@@ -70,7 +70,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setCx(aNum);
+ maCx = aNum;
}
break;
}
@@ -80,7 +80,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setCy(aNum);
+ maCy = aNum;
}
break;
}
@@ -92,7 +92,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setRx(aNum);
+ maRx = aNum;
}
}
break;
@@ -105,7 +105,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setRy(aNum);
+ maRy = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx
index 8137ac3fe50d..0af85b4d19c7 100644
--- a/svgio/source/svgreader/svggradientnode.cxx
+++ b/svgio/source/svgreader/svggradientnode.cxx
@@ -95,7 +95,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX1(aNum);
+ maX1 = aNum;
}
break;
}
@@ -105,7 +105,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY1(aNum);
+ maY1 = aNum;
}
break;
}
@@ -115,7 +115,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX2(aNum);
+ maX2 = aNum;
}
break;
}
@@ -125,7 +125,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY2(aNum);
+ maY2 = aNum;
}
break;
}
@@ -135,7 +135,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setCx(aNum);
+ maCx = aNum;
}
break;
}
@@ -145,7 +145,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setCy(aNum);
+ maCy = aNum;
}
break;
}
@@ -155,7 +155,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setFx(aNum);
+ maFx = aNum;
}
break;
}
@@ -165,7 +165,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setFy(aNum);
+ maFy = aNum;
}
break;
}
@@ -177,7 +177,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setR(aNum);
+ maR = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svggradientstopnode.cxx b/svgio/source/svgreader/svggradientstopnode.cxx
index f2f10d8019aa..34ed91386aa2 100644
--- a/svgio/source/svgreader/svggradientstopnode.cxx
+++ b/svgio/source/svgreader/svggradientstopnode.cxx
@@ -67,7 +67,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setOffset(aNum);
+ maOffset = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx
index 5d7735f43faf..e1033df3720a 100644
--- a/svgio/source/svgreader/svgimagenode.cxx
+++ b/svgio/source/svgreader/svgimagenode.cxx
@@ -83,7 +83,7 @@ namespace svgio
}
case SVGTokenPreserveAspectRatio:
{
- setSvgAspectRatio(readSvgAspectRatio(aContent));
+ maSvgAspectRatio = readSvgAspectRatio(aContent);
break;
}
case SVGTokenTransform:
@@ -102,7 +102,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX(aNum);
+ maX = aNum;
}
break;
}
@@ -112,7 +112,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY(aNum);
+ maY = aNum;
}
break;
}
@@ -124,7 +124,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setWidth(aNum);
+ maWidth = aNum;
}
}
break;
@@ -137,7 +137,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setHeight(aNum);
+ maHeight = aNum;
}
}
break;
@@ -322,7 +322,7 @@ namespace svgio
else
{
// create mapping
- const SvgAspectRatio& rRatio = getSvgAspectRatio();
+ const SvgAspectRatio& rRatio = maSvgAspectRatio;
// even when ratio is not set, use the defaults
// let mapping be created from SvgAspectRatio
diff --git a/svgio/source/svgreader/svglinenode.cxx b/svgio/source/svgreader/svglinenode.cxx
index 2bbcadb14679..3720fb00bcc7 100644
--- a/svgio/source/svgreader/svglinenode.cxx
+++ b/svgio/source/svgreader/svglinenode.cxx
@@ -70,7 +70,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX1(aNum);
+ maX1 = aNum;
}
break;
}
@@ -80,7 +80,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY1(aNum);
+ maY1 = aNum;
}
break;
}
@@ -90,7 +90,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX2(aNum);
+ maX2 = aNum;
}
break;
}
@@ -100,7 +100,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY2(aNum);
+ maY2 = aNum;
}
break;
}
diff --git a/svgio/source/svgreader/svgmarkernode.cxx b/svgio/source/svgreader/svgmarkernode.cxx
index 5c8ecd21a3e1..110b4b821783 100644
--- a/svgio/source/svgreader/svgmarkernode.cxx
+++ b/svgio/source/svgreader/svgmarkernode.cxx
@@ -79,7 +79,7 @@ namespace svgio
}
case SVGTokenPreserveAspectRatio:
{
- setSvgAspectRatio(readSvgAspectRatio(aContent));
+ maSvgAspectRatio = readSvgAspectRatio(aContent);
break;
}
case SVGTokenRefX:
@@ -88,7 +88,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setRefX(aNum);
+ maRefX = aNum;
}
break;
}
@@ -98,7 +98,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setRefY(aNum);
+ maRefY = aNum;
}
break;
}
@@ -125,7 +125,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setMarkerWidth(aNum);
+ maMarkerWidth = aNum;
}
}
break;
@@ -138,7 +138,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setMarkerHeight(aNum);
+ maMarkerHeight = aNum;
}
}
break;
@@ -151,7 +151,7 @@ namespace svgio
{
if(aContent.startsWith("auto"))
{
- setOrientAuto();
+ mbOrientAuto = true;
}
else
{
diff --git a/svgio/source/svgreader/svgmasknode.cxx b/svgio/source/svgreader/svgmasknode.cxx
index 4879e7e7caff..34f8faa5516a 100644
--- a/svgio/source/svgreader/svgmasknode.cxx
+++ b/svgio/source/svgreader/svgmasknode.cxx
@@ -78,7 +78,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX(aNum);
+ maX = aNum;
}
break;
}
@@ -88,7 +88,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY(aNum);
+ maY = aNum;
}
break;
}
@@ -100,7 +100,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setWidth(aNum);
+ maWidth = aNum;
}
}
break;
@@ -113,7 +113,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setHeight(aNum);
+ maHeight = aNum;
}
}
break;
@@ -215,7 +215,7 @@ namespace svgio
// create OffscreenBufferRange
basegfx::B2DRange aOffscreenBufferRange;
- if(objectBoundingBox == getMaskUnits())
+ if(objectBoundingBox == maMaskUnits)
{
// fractions or percentages of the bounding box of the element to which the mask is applied
const double fX(Unit_percent == getX().getUnit() ? getX().getNumber() * 0.01 : getX().getNumber());
@@ -241,7 +241,7 @@ namespace svgio
fY + (getHeight().isSet() ? getHeight().solve(*this, ycoordinate) : 0.0));
}
- if(objectBoundingBox == getMaskContentUnits())
+ if(objectBoundingBox == maMaskContentUnits)
{
// mask is object-relative, embed in content transformation
const drawinglayer::primitive2d::Primitive2DReference xTransform(
diff --git a/svgio/source/svgreader/svgpathnode.cxx b/svgio/source/svgreader/svgpathnode.cxx
index 9ba246997f86..5b36890dda57 100644
--- a/svgio/source/svgreader/svgpathnode.cxx
+++ b/svgio/source/svgreader/svgpathnode.cxx
@@ -91,7 +91,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setPathLength(aNum);
+ maPathLength = aNum;
}
break;
}
diff --git a/svgio/source/svgreader/svgpatternnode.cxx b/svgio/source/svgreader/svgpatternnode.cxx
index 6338f96fd1d6..52511b6413f6 100644
--- a/svgio/source/svgreader/svgpatternnode.cxx
+++ b/svgio/source/svgreader/svgpatternnode.cxx
@@ -93,7 +93,7 @@ namespace svgio
}
case SVGTokenPreserveAspectRatio:
{
- setSvgAspectRatio(readSvgAspectRatio(aContent));
+ maSvgAspectRatio = readSvgAspectRatio(aContent);
break;
}
case SVGTokenX:
@@ -102,7 +102,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX(aNum);
+ maX = aNum;
}
break;
}
@@ -112,7 +112,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY(aNum);
+ maY = aNum;
}
break;
}
@@ -124,7 +124,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setWidth(aNum);
+ maWidth = aNum;
}
}
break;
@@ -137,7 +137,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setHeight(aNum);
+ maHeight = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svgpolynode.cxx b/svgio/source/svgreader/svgpolynode.cxx
index 378f4c74cc52..026f9d6b81ff 100644
--- a/svgio/source/svgreader/svgpolynode.cxx
+++ b/svgio/source/svgreader/svgpolynode.cxx
@@ -73,7 +73,7 @@ namespace svgio
{
if(aPath.count())
{
- if(!isPolyline())
+ if(!mbIsPolyline)
{
aPath.setClosed(true);
}
@@ -104,11 +104,11 @@ namespace svgio
{
const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
- if(pStyle && getPolygon())
+ if(pStyle && mpPolygon)
{
drawinglayer::primitive2d::Primitive2DContainer aNewTarget;
- pStyle->add_path(basegfx::B2DPolyPolygon(*getPolygon()), aNewTarget, nullptr);
+ pStyle->add_path(basegfx::B2DPolyPolygon(*mpPolygon), aNewTarget, nullptr);
if(!aNewTarget.empty())
{
diff --git a/svgio/source/svgreader/svgrectnode.cxx b/svgio/source/svgreader/svgrectnode.cxx
index ee10be205fa9..50df6c5f020e 100644
--- a/svgio/source/svgreader/svgrectnode.cxx
+++ b/svgio/source/svgreader/svgrectnode.cxx
@@ -72,7 +72,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX(aNum);
+ maX = aNum;
}
break;
}
@@ -82,7 +82,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY(aNum);
+ maY = aNum;
}
break;
}
@@ -94,7 +94,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setWidth(aNum);
+ maWidth = aNum;
}
}
break;
@@ -107,7 +107,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setHeight(aNum);
+ maHeight = aNum;
}
}
break;
@@ -120,7 +120,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setRx(aNum);
+ maRx = aNum;
}
}
break;
@@ -133,7 +133,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setRy(aNum);
+ maRy = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index cc66af5a5dec..6a92c42e73d9 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -1301,11 +1301,11 @@ namespace svgio
{
if(SVGTokenLinearGradient == pNode->getType() || SVGTokenRadialGradient == pNode->getType())
{
- setSvgGradientNodeFill(static_cast< const SvgGradientNode* >(pNode));
+ mpSvgGradientNodeFill = static_cast< const SvgGradientNode* >(pNode);
}
else if(SVGTokenPattern == pNode->getType())
{
- setSvgPatternNodeFill(static_cast< const SvgPatternNode* >(pNode));
+ mpSvgPatternNodeFill = static_cast< const SvgPatternNode* >(pNode);
}
}
}
@@ -1317,7 +1317,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setFillOpacity(SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet()));
+ maFillOpacity = SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet());
}
break;
}
@@ -1344,7 +1344,7 @@ namespace svgio
if(readSvgPaint(aContent, aSvgPaint, aURL, bCaseIndependent, aOpacity))
{
- setStroke(aSvgPaint);
+ maStroke = aSvgPaint;
if(aOpacity.isSet())
{
setOpacity(SvgNumber(basegfx::clamp(aOpacity.getNumber(), 0.0, 1.0)));
@@ -1358,11 +1358,11 @@ namespace svgio
{
if(SVGTokenLinearGradient == pNode->getType() || SVGTokenRadialGradient == pNode->getType())
{
- setSvgGradientNodeStroke(static_cast< const SvgGradientNode* >(pNode));
+ mpSvgGradientNodeStroke = static_cast< const SvgGradientNode* >(pNode);
}
else if(SVGTokenPattern == pNode->getType())
{
- setSvgPatternNodeStroke(static_cast< const SvgPatternNode* >(pNode));
+ mpSvgPatternNodeStroke = static_cast< const SvgPatternNode* >(pNode);
}
}
}
@@ -1380,11 +1380,11 @@ namespace svgio
// in the sense that *when* it is set, the parent shall not
// be used. Before this was only dependent on the array being
// empty
- setStrokeDasharraySet(true);
+ mbStrokeDasharraySet = true;
}
else if(readSvgNumberVector(aContent, aVector))
{
- setStrokeDasharray(aVector);
+ maStrokeDasharray = aVector;
}
}
break;
@@ -1460,7 +1460,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setStrokeOpacity(SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet()));
+ maStrokeOpacity = SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet());
}
break;
}
@@ -1472,7 +1472,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setStrokeWidth(aNum);
+ maStrokeWidth = aNum;
}
}
break;
@@ -1485,7 +1485,7 @@ namespace svgio
if(readSvgPaint(aContent, aSvgPaint, aURL, bCaseIndependent, aOpacity))
{
- setStopColor(aSvgPaint);
+ maStopColor = aSvgPaint;
if(aOpacity.isSet())
{
setOpacity(SvgNumber(basegfx::clamp(aOpacity.getNumber(), 0.0, 1.0)));
@@ -1501,7 +1501,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setStopOpacity(aNum);
+ maStopOpacity = aNum;
}
}
break;
@@ -1516,7 +1516,7 @@ namespace svgio
if(readSvgStringVector(aContent, aSvgStringVector))
{
- setFontFamily(aSvgStringVector);
+ maFontFamily = aSvgStringVector;
}
break;
}
@@ -1570,7 +1570,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setFontSizeNumber(aNum);
+ maFontSizeNumber = aNum;
}
}
}
@@ -1809,7 +1809,7 @@ namespace svgio
if(readSvgPaint(aContent, aSvgPaint, aURL, bCaseIndependent, aOpacity))
{
- setColor(aSvgPaint);
+ maColor = aSvgPaint;
if(aOpacity.isSet())
{
setOpacity(SvgNumber(basegfx::clamp(aOpacity.getNumber(), 0.0, 1.0)));
@@ -1852,12 +1852,12 @@ namespace svgio
}
case SVGTokenTitle:
{
- setTitle(aContent);
+ maTitle = aContent;
break;
}
case SVGTokenDesc:
{
- setDesc(aContent);
+ maDesc = aContent;
break;
}
case SVGTokenClipPathProperty:
@@ -2256,7 +2256,7 @@ namespace svgio
{
return maStrokeDasharray;
}
- else if(getStrokeDasharraySet())
+ else if(mbStrokeDasharraySet)
{
// #121221# is set to empty *by purpose*, do not visit parent styles
return maStrokeDasharray;
diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx
index 81dfd24b1ca5..91b357977cf9 100644
--- a/svgio/source/svgreader/svgsvgnode.cxx
+++ b/svgio/source/svgreader/svgsvgnode.cxx
@@ -143,7 +143,7 @@ namespace svgio
}
case SVGTokenPreserveAspectRatio:
{
- setSvgAspectRatio(readSvgAspectRatio(aContent));
+ maSvgAspectRatio = readSvgAspectRatio(aContent);
break;
}
case SVGTokenX:
@@ -152,7 +152,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX(aNum);
+ maX = aNum;
}
break;
}
@@ -162,7 +162,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY(aNum);
+ maY = aNum;
}
break;
}
@@ -174,7 +174,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setWidth(aNum);
+ maWidth = aNum;
}
}
break;
@@ -187,7 +187,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setHeight(aNum);
+ maHeight = aNum;
}
}
break;
@@ -198,7 +198,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setVersion(aNum);
+ maVersion = aNum;
}
break;
}
diff --git a/svgio/source/svgreader/svgsymbolnode.cxx b/svgio/source/svgreader/svgsymbolnode.cxx
index 85f1ea5f5cb6..66264f814879 100644
--- a/svgio/source/svgreader/svgsymbolnode.cxx
+++ b/svgio/source/svgreader/svgsymbolnode.cxx
@@ -73,7 +73,7 @@ namespace svgio
}
case SVGTokenPreserveAspectRatio:
{
- setSvgAspectRatio(readSvgAspectRatio(aContent));
+ maSvgAspectRatio = readSvgAspectRatio(aContent);
break;
}
default:
diff --git a/svgio/source/svgreader/svgtextnode.cxx b/svgio/source/svgreader/svgtextnode.cxx
index d78912901f86..5c44ce064c16 100644
--- a/svgio/source/svgreader/svgtextnode.cxx
+++ b/svgio/source/svgreader/svgtextnode.cxx
@@ -233,7 +233,7 @@ namespace svgio
if(fOpacity > 0.0)
{
- SvgTextPosition aSvgTextPosition(nullptr, *this, getSvgTextPositions());
+ SvgTextPosition aSvgTextPosition(nullptr, *this, maSvgTextPositions);
drawinglayer::primitive2d::Primitive2DContainer aNewTarget;
const SvgNodeVector& rChildren = getChildren();
const sal_uInt32 nCount(rChildren.size());
diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx
index 408d0fbe76bf..0608a71b8ee4 100644
--- a/svgio/source/svgreader/svgtextpathnode.cxx
+++ b/svgio/source/svgreader/svgtextpathnode.cxx
@@ -290,7 +290,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setStartOffset(aNum);
+ maStartOffset = aNum;
}
}
break;
diff --git a/svgio/source/svgreader/svgusenode.cxx b/svgio/source/svgreader/svgusenode.cxx
index 6a055d0fdd22..7495c2b1d5ad 100644
--- a/svgio/source/svgreader/svgusenode.cxx
+++ b/svgio/source/svgreader/svgusenode.cxx
@@ -81,7 +81,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setX(aNum);
+ maX = aNum;
}
break;
}
@@ -91,7 +91,7 @@ namespace svgio
if(readSingleNumber(aContent, aNum))
{
- setY(aNum);
+ maY = aNum;
}
break;
}
@@ -103,7 +103,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setWidth(aNum);
+ maWidth = aNum;
}
}
break;
@@ -116,7 +116,7 @@ namespace svgio
{
if(aNum.isPositive())
{
- setHeight(aNum);
+ maHeight = aNum;
}
}
break;