summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
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 );