summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-07 18:47:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-08 09:30:23 +0200
commitc83a8071666af2f8e96a4b1808d7650ba112f931 (patch)
tree377448701e379846d7f25d641a875eac283339a5 /svx
parentc2f318c6e57bf7b5d3b3c1cb19846e5261080daa (diff)
loplugin:unusedfields
Change-Id: I9ae44279f1cce06bd6868005fbb878ba4894aed7 Reviewed-on: https://gerrit.libreoffice.org/58706 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/paraprev.cxx2
-rw-r--r--svx/source/dialog/relfld.cxx3
2 files changed, 0 insertions, 5 deletions
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx
index 5291fe0ac9a7..07d33436c9e0 100644
--- a/svx/source/dialog/paraprev.cxx
+++ b/svx/source/dialog/paraprev.cxx
@@ -28,8 +28,6 @@ SvxParaPrevWindow::SvxParaPrevWindow( vcl::Window* pParent, WinBits nBits) :
// Count in Twips by default
SetMapMode(MapMode(MapUnit::MapTwip));
- aSize = Size(11905, 16837);
-
SetBorderStyle(WindowBorderStyle::MONO);
}
diff --git a/svx/source/dialog/relfld.cxx b/svx/source/dialog/relfld.cxx
index 26d3aca05138..68031f8e920a 100644
--- a/svx/source/dialog/relfld.cxx
+++ b/svx/source/dialog/relfld.cxx
@@ -23,7 +23,6 @@
SvxRelativeField::SvxRelativeField(
vcl::Window *const pParent, WinBits const nBits, FieldUnit const eUnit)
: MetricField( pParent, nBits)
- , bRelative(false)
{
SetUnit(eUnit);
SetDecimalDigits( 2 );
@@ -48,7 +47,6 @@ void SvxRelativeField::SetRelative( bool bNewRelative )
if ( bNewRelative )
{
- bRelative = true;
SetDecimalDigits( 0 );
SetMin( 0 );
SetMax( 0 );
@@ -56,7 +54,6 @@ void SvxRelativeField::SetRelative( bool bNewRelative )
}
else
{
- bRelative = false;
SetDecimalDigits( 2 );
SetMin( 0 );
SetMax( 9999 );