summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgtools.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-19 10:52:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-19 11:23:57 +0000
commit778e9a65bf5af07c4caeff969a0324e43a78e66b (patch)
treea5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /svgio/source/svgreader/svgtools.cxx
parent541c4c4509863beb7babe361b31e27f7295e3069 (diff)
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svgio/source/svgreader/svgtools.cxx')
-rw-r--r--svgio/source/svgreader/svgtools.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx
index a4e4233a805d..db5e16332559 100644
--- a/svgio/source/svgreader/svgtools.cxx
+++ b/svgio/source/svgreader/svgtools.cxx
@@ -1304,7 +1304,6 @@ namespace svgio
{
sal_Int32 nPos(0);
SvgAlign aSvgAlign(Align_xMidYMid);
- bool bDefer(false);
bool bMeetOrSlice(true);
bool bChanged(false);
@@ -1321,7 +1320,6 @@ namespace svgio
{
case SVGTokenDefer:
{
- bDefer = true;
bChanged = true;
break;
}
@@ -1413,7 +1411,7 @@ namespace svgio
if(bChanged)
{
- return SvgAspectRatio(aSvgAlign, bDefer, bMeetOrSlice);
+ return SvgAspectRatio(aSvgAlign, bMeetOrSlice);
}
}