summaryrefslogtreecommitdiff
path: root/svgio/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 10:41:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 11:37:35 +0200
commit8303e7ed668fbcbd0ba75bd9dd259f03073ffd46 (patch)
treebfcbb0f58c0fd8cbd5c03d93fc5b1d4ab3ef817b /svgio/source
parenta64692944a0a22feeef4a943d45137b25494cf64 (diff)
loplugin:unusedfields improvements
tighten up the only calling write-only methods part of the analysis Change-Id: I5bc6fdf0ce51940653317e8a48c5241705c90d4c Reviewed-on: https://gerrit.libreoffice.org/74022 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/source')
-rw-r--r--svgio/source/svgreader/svgsymbolnode.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/svgio/source/svgreader/svgsymbolnode.cxx b/svgio/source/svgreader/svgsymbolnode.cxx
index 632067e8f954..45228cd8f37e 100644
--- a/svgio/source/svgreader/svgsymbolnode.cxx
+++ b/svgio/source/svgreader/svgsymbolnode.cxx
@@ -61,12 +61,7 @@ namespace svgio
}
case SVGTokenViewBox:
{
- const basegfx::B2DRange aRange(readViewBox(aContent, *this));
-
- if(!aRange.isEmpty())
- {
- setViewBox(&aRange);
- }
+ readViewBox(aContent, *this);
break;
}
case SVGTokenPreserveAspectRatio: