summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-23 15:34:44 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:39 +0200
commitd3b5038cbbe4adf642b3906da111a9f0d2c918a7 (patch)
tree9f025e613c8d33bfebcc08d89f7313817bd38bd6 /svgio
parent0c58017468abb0ebee3088336e7e7a074e53edee (diff)
loplugin:staticmethods
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
Diffstat (limited to 'svgio')
-rw-r--r--svgio/inc/svgio/svgreader/svgtextnode.hxx4
-rw-r--r--svgio/source/svgreader/svgtextnode.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svgio/inc/svgio/svgreader/svgtextnode.hxx b/svgio/inc/svgio/svgreader/svgtextnode.hxx
index 5652be78b077..6560efa15452 100644
--- a/svgio/inc/svgio/svgreader/svgtextnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgtextnode.hxx
@@ -43,10 +43,10 @@ namespace svgio
const SvgNode& rCandidate,
drawinglayer::primitive2d::Primitive2DSequence& rTarget,
SvgTextPosition& rSvgTextPosition) const;
- void addTextPrimitives(
+ static void addTextPrimitives(
const SvgNode& rCandidate,
drawinglayer::primitive2d::Primitive2DSequence& rTarget,
- drawinglayer::primitive2d::Primitive2DSequence& rSource) const;
+ drawinglayer::primitive2d::Primitive2DSequence& rSource);
public:
SvgTextNode(
diff --git a/svgio/source/svgreader/svgtextnode.cxx b/svgio/source/svgreader/svgtextnode.cxx
index 21c973c5c0ec..e70f80ae6aee 100644
--- a/svgio/source/svgreader/svgtextnode.cxx
+++ b/svgio/source/svgreader/svgtextnode.cxx
@@ -89,7 +89,7 @@ namespace svgio
void SvgTextNode::addTextPrimitives(
const SvgNode& rCandidate,
drawinglayer::primitive2d::Primitive2DSequence& rTarget,
- drawinglayer::primitive2d::Primitive2DSequence& rSource) const
+ drawinglayer::primitive2d::Primitive2DSequence& rSource)
{
if(rSource.hasElements())
{