summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
commit0705f7da48bf36949dd323ba0103db86708e00e7 (patch)
tree7083e0abcc5b9a17700498b97520cd8c8faa72e8 /sw/source/ui/frmdlg
parent85ce992473a435497014f856f95f3914783f8d72 (diff)
loplugin:defaultparams
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 95b8aee2f1c9..f3b0f1d5ab0b 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -2235,14 +2235,14 @@ void SwFrmPage::Init(const SfxItemSet& rSet, bool bReset)
m_pAutoHeightCB->Check( bCheck );
HandleAutoCB( bCheck, *m_pHeightFT, *m_pHeightAutoFT, *m_aWidthED.get() );
if( eSize == ATT_VAR_SIZE )
- m_aHeightED.SetValue( m_aHeightED.GetMin(), FUNIT_NONE );
+ m_aHeightED.SetValue( m_aHeightED.GetMin() );
eSize = rSize.GetWidthSizeType();
bCheck = eSize != ATT_FIX_SIZE;
m_pAutoWidthCB->Check( bCheck );
HandleAutoCB( bCheck, *m_pWidthFT, *m_pWidthAutoFT, *m_aWidthED.get() );
if( eSize == ATT_VAR_SIZE )
- m_aWidthED.SetValue( m_aWidthED.GetMin(), FUNIT_NONE );
+ m_aWidthED.SetValue( m_aWidthED.GetMin() );
if ( !bFormat )
{