From c83a8071666af2f8e96a4b1808d7650ba112f931 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 Aug 2018 18:47:36 +0200 Subject: loplugin:unusedfields Change-Id: I9ae44279f1cce06bd6868005fbb878ba4894aed7 Reviewed-on: https://gerrit.libreoffice.org/58706 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/dialog/paraprev.cxx | 2 -- svx/source/dialog/relfld.cxx | 3 --- 2 files changed, 5 deletions(-) (limited to 'svx') 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 ); -- cgit