(related: fdo#62176) Revert "reset min/max values in paragraph ...
... dialog before setting the actual value" This prevents handling negative first-line indent in Impress, for which it is necessary that the values are set before the limits. This reverts commit 3d7ff1e907713d8ed53a1e193641a2f16de3c38b. Change-Id: I47807d7d49716acab3657de1da64c6e9a99fc44d
This commit is contained in:
parent
43cd2f79da
commit
35199df7b7
@ -431,8 +431,6 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet& rSet )
|
||||
SetFieldUnit( *m_pLineDistAtMetricBox, eFUnit );
|
||||
}
|
||||
|
||||
ELRLoseFocusHdl( NULL ); // reset min/max values
|
||||
|
||||
sal_uInt16 _nWhich = GetWhich( SID_ATTR_LRSPACE );
|
||||
SfxItemState eItemState = rSet.GetItemState( _nWhich );
|
||||
|
||||
@ -590,6 +588,10 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet& rSet )
|
||||
}
|
||||
}
|
||||
|
||||
// this sets the min/max limits; do this _after_ setting the values,
|
||||
// because for Impress the min of first-line indent depends on value of
|
||||
// left-indent!
|
||||
ELRLoseFocusHdl( NULL );
|
||||
m_pAutoCB->SaveValue();
|
||||
m_pContextualCB->SaveValue();
|
||||
m_pLineDist->SaveValue();
|
||||
|
Loading…
x
Reference in New Issue
Block a user