diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-20 13:02:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-20 13:52:17 +0200 |
commit | 7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 (patch) | |
tree | f04de671670a533ccffe20bf3aa0fa9c5f837a5d /svgio | |
parent | 0670872ce0d191cf93481215025cafd2062b8a8f (diff) |
loplugin: defaultparams
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgclippathnode.cxx | 4 | ||||
-rw-r--r-- | svgio/source/svgreader/svggradientnode.cxx | 4 | ||||
-rw-r--r-- | svgio/source/svgreader/svgmarkernode.cxx | 4 | ||||
-rw-r--r-- | svgio/source/svgreader/svgmasknode.cxx | 8 | ||||
-rw-r--r-- | svgio/source/svgreader/svgpatternnode.cxx | 8 |
5 files changed, 14 insertions, 14 deletions
diff --git a/svgio/source/svgreader/svgclippathnode.cxx b/svgio/source/svgreader/svgclippathnode.cxx index 7100535b913c..711c158e2f11 100644 --- a/svgio/source/svgreader/svgclippathnode.cxx +++ b/svgio/source/svgreader/svgclippathnode.cxx @@ -80,11 +80,11 @@ namespace svgio { if(!aContent.isEmpty()) { - if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setClipPathUnits(userSpaceOnUse); } - else if(aContent.match(commonStrings::aStrObjectBoundingBox, 0)) + else if(aContent.match(commonStrings::aStrObjectBoundingBox)) { setClipPathUnits(objectBoundingBox); } diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx index c9ab440d3db9..6357650985b8 100644 --- a/svgio/source/svgreader/svggradientnode.cxx +++ b/svgio/source/svgreader/svggradientnode.cxx @@ -186,11 +186,11 @@ namespace svgio { if(!aContent.isEmpty()) { - if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setGradientUnits(userSpaceOnUse); } - else if(aContent.match(commonStrings::aStrObjectBoundingBox, 0)) + else if(aContent.match(commonStrings::aStrObjectBoundingBox)) { setGradientUnits(objectBoundingBox); } diff --git a/svgio/source/svgreader/svgmarkernode.cxx b/svgio/source/svgreader/svgmarkernode.cxx index cabe6d0e6e0e..d2868478389c 100644 --- a/svgio/source/svgreader/svgmarkernode.cxx +++ b/svgio/source/svgreader/svgmarkernode.cxx @@ -110,7 +110,7 @@ namespace svgio { setMarkerUnits(strokeWidth); } - else if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + else if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setMarkerUnits(userSpaceOnUse); } @@ -151,7 +151,7 @@ namespace svgio { if(aContent.startsWith("auto")) { - setOrientAuto(true); + setOrientAuto(); } else { diff --git a/svgio/source/svgreader/svgmasknode.cxx b/svgio/source/svgreader/svgmasknode.cxx index 6aed68a960c6..3c0f832d36da 100644 --- a/svgio/source/svgreader/svgmasknode.cxx +++ b/svgio/source/svgreader/svgmasknode.cxx @@ -132,11 +132,11 @@ namespace svgio { if(!aContent.isEmpty()) { - if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setMaskUnits(userSpaceOnUse); } - else if(aContent.match(commonStrings::aStrObjectBoundingBox, 0)) + else if(aContent.match(commonStrings::aStrObjectBoundingBox)) { setMaskUnits(objectBoundingBox); } @@ -147,11 +147,11 @@ namespace svgio { if(!aContent.isEmpty()) { - if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setMaskContentUnits(userSpaceOnUse); } - else if(aContent.match(commonStrings::aStrObjectBoundingBox, 0)) + else if(aContent.match(commonStrings::aStrObjectBoundingBox)) { setMaskContentUnits(objectBoundingBox); } diff --git a/svgio/source/svgreader/svgpatternnode.cxx b/svgio/source/svgreader/svgpatternnode.cxx index 7df26f609204..5d57e3486ec1 100644 --- a/svgio/source/svgreader/svgpatternnode.cxx +++ b/svgio/source/svgreader/svgpatternnode.cxx @@ -146,11 +146,11 @@ namespace svgio { if(!aContent.isEmpty()) { - if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setPatternUnits(userSpaceOnUse); } - else if(aContent.match(commonStrings::aStrObjectBoundingBox, 0)) + else if(aContent.match(commonStrings::aStrObjectBoundingBox)) { setPatternUnits(objectBoundingBox); } @@ -161,11 +161,11 @@ namespace svgio { if(!aContent.isEmpty()) { - if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) + if(aContent.match(commonStrings::aStrUserSpaceOnUse)) { setPatternContentUnits(userSpaceOnUse); } - else if(aContent.match(commonStrings::aStrObjectBoundingBox, 0)) + else if(aContent.match(commonStrings::aStrObjectBoundingBox)) { setPatternContentUnits(objectBoundingBox); } |