Kaydet (Commit) 66ff6924 authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino Kaydeden (comit) Caolán McNamara

Related: #i56998# use FUNIT_PERCENT on fields that allow relative value

(cherry picked from commit fc6fc5b5)

Conflicts:
	svtools/source/control/ctrlbox.cxx
	svx/source/dialog/relfld.cxx

Change-Id: Ic8f0f550dbbcab0678fbeb9bf45a478b0cea642d
üst 01fc6acd
......@@ -1896,8 +1896,7 @@ void FontSizeBox::SetRelative( sal_Bool bNewRelative )
SetDecimalDigits( 0 );
SetMin( nRelMin );
SetMax( nRelMax );
SetCustomUnitText(OUString('%'));
SetUnit( FUNIT_CUSTOM );
SetUnit( FUNIT_PERCENT );
Clear();
sal_uInt16 i = nRelMin;
......
......@@ -102,8 +102,7 @@ void SvxRelativeField::SetRelative( sal_Bool bNewRelative )
SetDecimalDigits( 0 );
SetMin( nRelMin );
SetMax( nRelMax );
SetCustomUnitText( OUString('%') );
SetUnit( FUNIT_CUSTOM );
SetUnit( FUNIT_PERCENT );
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment