Kaydet (Commit) 44752e26 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:checkunusedparams in svgio

Change-Id: I2e05fc51715902737ead6e57d0fbe167d715b822
Reviewed-on: https://gerrit.libreoffice.org/37194Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 9fbd05e0
...@@ -43,7 +43,7 @@ namespace svgio ...@@ -43,7 +43,7 @@ namespace svgio
public: public:
SvgTextPositions(); SvgTextPositions();
void parseTextPositionAttributes(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent); void parseTextPositionAttributes(SVGToken aSVGToken, const OUString& aContent);
/// X content /// X content
const SvgNumberVector& getX() const { return maX; } const SvgNumberVector& getX() const { return maX; }
......
...@@ -284,7 +284,7 @@ namespace svgio ...@@ -284,7 +284,7 @@ namespace svgio
public: public:
/// local attribute scanner /// local attribute scanner
void parseStyleAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& rContent, void parseStyleAttribute(SVGToken aSVGToken, const OUString& rContent,
bool bCaseIndependent); bool bCaseIndependent);
/// helper which does the necessary with a given path /// helper which does the necessary with a given path
......
...@@ -49,7 +49,7 @@ namespace svgio ...@@ -49,7 +49,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -41,7 +41,7 @@ namespace svgio ...@@ -41,7 +41,7 @@ namespace svgio
{ {
} }
void SvgTextPositions::parseTextPositionAttributes(const OUString& /*rTokenName*/, SVGToken aSVGToken, const OUString& aContent) void SvgTextPositions::parseTextPositionAttributes(SVGToken aSVGToken, const OUString& aContent)
{ {
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -52,7 +52,7 @@ namespace svgio ...@@ -52,7 +52,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -55,7 +55,7 @@ namespace svgio ...@@ -55,7 +55,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -53,7 +53,7 @@ namespace svgio ...@@ -53,7 +53,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -60,7 +60,7 @@ namespace svgio ...@@ -60,7 +60,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -78,7 +78,7 @@ namespace svgio ...@@ -78,7 +78,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -49,7 +49,7 @@ namespace svgio ...@@ -49,7 +49,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -70,7 +70,7 @@ namespace svgio ...@@ -70,7 +70,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -53,7 +53,7 @@ namespace svgio ...@@ -53,7 +53,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -56,7 +56,7 @@ namespace svgio ...@@ -56,7 +56,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -61,7 +61,7 @@ namespace svgio ...@@ -61,7 +61,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -52,7 +52,7 @@ namespace svgio ...@@ -52,7 +52,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -71,7 +71,7 @@ namespace svgio ...@@ -71,7 +71,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -55,7 +55,7 @@ namespace svgio ...@@ -55,7 +55,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -55,7 +55,7 @@ namespace svgio ...@@ -55,7 +55,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -232,7 +232,7 @@ namespace svgio ...@@ -232,7 +232,7 @@ namespace svgio
} }
// valid token-value pair, parse it // valid token-value pair, parse it
parseStyleAttribute(aOUTokenName, StrToSVGToken(aOUTokenName, true), aOUTokenValue, true); parseStyleAttribute(StrToSVGToken(aOUTokenName, true), aOUTokenValue, true);
} }
} }
...@@ -1272,7 +1272,6 @@ namespace svgio ...@@ -1272,7 +1272,6 @@ namespace svgio
} }
void SvgStyleAttributes::parseStyleAttribute( void SvgStyleAttributes::parseStyleAttribute(
const OUString& /* rTokenName */,
SVGToken aSVGToken, SVGToken aSVGToken,
const OUString& aContent, const OUString& aContent,
bool bCaseIndependent) bool bCaseIndependent)
......
...@@ -120,7 +120,7 @@ namespace svgio ...@@ -120,7 +120,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -50,7 +50,7 @@ namespace svgio ...@@ -50,7 +50,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -55,10 +55,10 @@ namespace svgio ...@@ -55,10 +55,10 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// read text position attributes // read text position attributes
maSvgTextPositions.parseTextPositionAttributes(rTokenName, aSVGToken, aContent); maSvgTextPositions.parseTextPositionAttributes(aSVGToken, aContent);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -272,7 +272,7 @@ namespace svgio ...@@ -272,7 +272,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -48,7 +48,7 @@ namespace svgio ...@@ -48,7 +48,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -48,10 +48,10 @@ namespace svgio ...@@ -48,10 +48,10 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// read text position attributes // read text position attributes
maSvgTextPositions.parseTextPositionAttributes(rTokenName, aSVGToken, aContent); maSvgTextPositions.parseTextPositionAttributes(aSVGToken, aContent);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
...@@ -54,7 +54,7 @@ namespace svgio ...@@ -54,7 +54,7 @@ namespace svgio
SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
// read style attributes // read style attributes
maSvgStyleAttributes.parseStyleAttribute(rTokenName, aSVGToken, aContent, false); maSvgStyleAttributes.parseStyleAttribute(aSVGToken, aContent, false);
// parse own // parse own
switch(aSVGToken) switch(aSVGToken)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment