summaryrefslogtreecommitdiff
path: root/svgio/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-15 15:28:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-16 07:50:23 +0000
commitee79541aa892ff218e1dc3f869a3ac11b6f296ba (patch)
tree76c57d29597e8b539dc991e8869fbd8280d98cb0 /svgio/inc
parent91f41ac71a773e2016f2f53e08e85c5fc065999d (diff)
loplugin:unusedmethods svgio
Change-Id: I0dd601429b70dc09780e31079a6f7c0570652fe9 Reviewed-on: https://gerrit.libreoffice.org/17114 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgio/svgreader/svgcharacternode.hxx3
-rw-r--r--svgio/inc/svgio/svgreader/svgdocument.hxx1
-rw-r--r--svgio/inc/svgio/svgreader/svgstyleattributes.hxx7
-rw-r--r--svgio/inc/svgio/svgreader/svgsvgnode.hxx1
-rw-r--r--svgio/inc/svgio/svgreader/svgsymbolnode.hxx2
-rw-r--r--svgio/inc/svgio/svgreader/svgtextpathnode.hxx2
-rw-r--r--svgio/inc/svgio/svgreader/svgtools.hxx1
-rw-r--r--svgio/inc/svgio/svgreader/svgusenode.hxx2
8 files changed, 0 insertions, 19 deletions
diff --git a/svgio/inc/svgio/svgreader/svgcharacternode.hxx b/svgio/inc/svgio/svgreader/svgcharacternode.hxx
index 192f24d221ba..23d780951ed0 100644
--- a/svgio/inc/svgio/svgreader/svgcharacternode.hxx
+++ b/svgio/inc/svgio/svgreader/svgcharacternode.hxx
@@ -101,7 +101,6 @@ namespace svgio
/// bitfield
bool mbLengthAdjust : 1; // true = spacing, false = spacingAndGlyphs
bool mbAbsoluteX : 1;
- bool mbAbsoluteY : 1;
public:
SvgTextPosition(
@@ -112,11 +111,9 @@ namespace svgio
// data read access
const SvgTextPosition* getParent() const { return mpParent; }
const ::std::vector< double >& getX() const { return maX; }
- const ::std::vector< double >& getY() const { return maY; }
double getTextLength() const { return mfTextLength; }
bool getLengthAdjust() const { return mbLengthAdjust; }
bool getAbsoluteX() const { return mbAbsoluteX; }
- bool getAbsoluteY() const { return mbAbsoluteY; }
// get/set absolute, current, advancing position
const basegfx::B2DPoint& getPosition() const { return maPosition; }
diff --git a/svgio/inc/svgio/svgreader/svgdocument.hxx b/svgio/inc/svgio/svgreader/svgdocument.hxx
index e0d0141c64ec..46aee7afe8f2 100644
--- a/svgio/inc/svgio/svgreader/svgdocument.hxx
+++ b/svgio/inc/svgio/svgreader/svgdocument.hxx
@@ -61,7 +61,6 @@ namespace svgio
void removeSvgNodeFromMapper(const OUString& rStr);
/// find a node by its Id
- bool hasSvgNodesById() const { return !maIdTokenMapperList.empty(); }
const SvgNode* findSvgNodeById(const OUString& rStr) const;
/// add/remove styles to mapper
diff --git a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
index 5a67aa11527b..cb1982dd3578 100644
--- a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
+++ b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
@@ -335,7 +335,6 @@ namespace svgio
/// fill rule content
FillRule getFillRule() const;
- void setFillRule(const FillRule aFillRule = FillRule_notset) { maFillRule = aFillRule; }
/// fill StrokeDasharray content
const SvgNumberVector& getStrokeDasharray() const;
@@ -382,7 +381,6 @@ namespace svgio
void setFontStyle(const FontStyle aFontStyle = FontStyle_notset) { maFontStyle = aFontStyle; }
/// FontVariant content
- FontVariant getFontVariant() const;
void setFontVariant(const FontVariant aFontVariant = FontVariant_notset) { maFontVariant = aFontVariant; }
/// FontWeight content
@@ -427,26 +425,21 @@ namespace svgio
// ClipPathXLink content
const OUString getClipPathXLink() const { return maClipPathXLink; }
- void setClipPathXLink(const OUString& rNew) { maClipPathXLink = rNew; }
// MaskXLink content
const OUString getMaskXLink() const { return maMaskXLink; }
- void setMaskXLink(const OUString& rNew) { maMaskXLink = rNew; }
// MarkerStartXLink content
OUString getMarkerStartXLink() const;
const SvgMarkerNode* accessMarkerStartXLink() const;
- void setMarkerStartXLink(const OUString& rNew) { maMarkerStartXLink = rNew; }
// MarkerMidXLink content
OUString getMarkerMidXLink() const;
const SvgMarkerNode* accessMarkerMidXLink() const;
- void setMarkerMidXLink(const OUString& rNew) { maMarkerMidXLink = rNew; }
// MarkerEndXLink content
OUString getMarkerEndXLink() const;
const SvgMarkerNode* accessMarkerEndXLink() const;
- void setMarkerEndXLink(const OUString& rNew) { maMarkerEndXLink = rNew; }
// BaselineShift
void setBaselineShift(const BaselineShift aBaselineShift = BaselineShift_Baseline) { maBaselineShift = aBaselineShift; }
diff --git a/svgio/inc/svgio/svgreader/svgsvgnode.hxx b/svgio/inc/svgio/svgreader/svgsvgnode.hxx
index 4a36bf864081..0ad83bc07212 100644
--- a/svgio/inc/svgio/svgreader/svgsvgnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgsvgnode.hxx
@@ -94,7 +94,6 @@ namespace svgio
void setHeight(const SvgNumber& rHeight = SvgNumber()) { maHeight = rHeight; }
/// version content
- const SvgNumber& getVersion() const { return maVersion; }
void setVersion(const SvgNumber& rVersion = SvgNumber()) { maVersion = rVersion; }
};
} // end of namespace svgreader
diff --git a/svgio/inc/svgio/svgreader/svgsymbolnode.hxx b/svgio/inc/svgio/svgreader/svgsymbolnode.hxx
index 86c1e70a6d44..8e6157cb39dc 100644
--- a/svgio/inc/svgio/svgreader/svgsymbolnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgsymbolnode.hxx
@@ -46,11 +46,9 @@ namespace svgio
virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) SAL_OVERRIDE;
/// viewBox content
- const basegfx::B2DRange* getViewBox() const { return mpViewBox; }
void setViewBox(const basegfx::B2DRange* pViewBox = 0) { if(mpViewBox) delete mpViewBox; mpViewBox = 0; if(pViewBox) mpViewBox = new basegfx::B2DRange(*pViewBox); }
/// SvgAspectRatio content
- const SvgAspectRatio& getSvgAspectRatio() const { return maSvgAspectRatio; }
void setSvgAspectRatio(const SvgAspectRatio& rSvgAspectRatio = SvgAspectRatio()) { maSvgAspectRatio = rSvgAspectRatio; }
};
} // end of namespace svgreader
diff --git a/svgio/inc/svgio/svgreader/svgtextpathnode.hxx b/svgio/inc/svgio/svgreader/svgtextpathnode.hxx
index 94d659ffe1c3..ce6a2a0fd41d 100644
--- a/svgio/inc/svgio/svgreader/svgtextpathnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgtextpathnode.hxx
@@ -64,11 +64,9 @@ namespace svgio
void setStartOffset(const SvgNumber& rStartOffset = SvgNumber()) { maStartOffset = rStartOffset; }
/// Method content
- bool getMethod() const { return mbMethod; }
void setMethod(bool bNew) { mbMethod = bNew; }
/// Spacing content
- bool getSpacing() const { return mbSpacing; }
void setSpacing(bool bNew) { mbSpacing = bNew; }
};
} // end of namespace svgreader
diff --git a/svgio/inc/svgio/svgreader/svgtools.hxx b/svgio/inc/svgio/svgreader/svgtools.hxx
index 5fc6c3b5a4f7..71fee9e63732 100644
--- a/svgio/inc/svgio/svgreader/svgtools.hxx
+++ b/svgio/inc/svgio/svgreader/svgtools.hxx
@@ -180,7 +180,6 @@ namespace svgio
/// data read access
SvgAlign getSvgAlign() const { return maSvgAlign; }
- bool isDefer() const { return mbDefer; }
bool isMeetOrSlice() const { return mbMeetOrSlice; }
bool isSet() const { return mbSet; }
diff --git a/svgio/inc/svgio/svgreader/svgusenode.hxx b/svgio/inc/svgio/svgreader/svgusenode.hxx
index 8e9a6d19ae64..fe6517afb14e 100644
--- a/svgio/inc/svgio/svgreader/svgusenode.hxx
+++ b/svgio/inc/svgio/svgreader/svgusenode.hxx
@@ -67,11 +67,9 @@ namespace svgio
void setY(const SvgNumber& rY = SvgNumber()) { maY = rY; }
/// width content
- const SvgNumber& getWidth() const { return maWidth; }
void setWidth(const SvgNumber& rWidth = SvgNumber()) { maWidth = rWidth; }
/// height content
- const SvgNumber& getHeight() const { return maHeight; }
void setHeight(const SvgNumber& rHeight = SvgNumber()) { maHeight = rHeight; }
};
} // end of namespace svgreader