summaryrefslogtreecommitdiff
path: root/svx/source/dialog/relfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 14:26:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 11:13:52 +0200
commit95c348afa8f4f17c058c449ded75025175af0e4a (patch)
tree88f21ab151fbbf5c79e9adf4bae8dfb920c9e85a /svx/source/dialog/relfld.cxx
parent2149d4a88e9dc88c30e7475f8ea317e5c7b78529 (diff)
loplugin:unusedfields in svx part2
Change-Id: Ie9fd55b71a152f428a397d9917918f0e9de39aaf Reviewed-on: https://gerrit.libreoffice.org/39014 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog/relfld.cxx')
-rw-r--r--svx/source/dialog/relfld.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/dialog/relfld.cxx b/svx/source/dialog/relfld.cxx
index 84c564f5864e..867086467d8d 100644
--- a/svx/source/dialog/relfld.cxx
+++ b/svx/source/dialog/relfld.cxx
@@ -25,7 +25,6 @@ SvxRelativeField::SvxRelativeField(
: MetricField( pParent, nBits)
, nRelMin(0)
, nRelMax(0)
- , nRelStep(0)
, bRelativeMode(false)
, bRelative(false)
, bNegativeEnabled(false)
@@ -85,13 +84,11 @@ void SvxRelativeField::Modify()
}
-void SvxRelativeField::EnableRelativeMode( sal_uInt16 nMin,
- sal_uInt16 nMax, sal_uInt16 nStep )
+void SvxRelativeField::EnableRelativeMode( sal_uInt16 nMin, sal_uInt16 nMax )
{
bRelativeMode = true;
nRelMin = nMin;
nRelMax = nMax;
- nRelStep = nStep;
SetUnit( FUNIT_CM );
}