Kaydet (Commit) fc6fc5b5 authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino

#i56998# use FUNIT_PERCENT on fields that allow relative value

üst 4f5b26a9
......@@ -1387,8 +1387,7 @@ void FontSizeBox::SetRelative( sal_Bool bNewRelative )
SetDecimalDigits( 0 );
SetMin( nRelMin );
SetMax( nRelMax );
SetCustomUnitText( '%' );
SetUnit( FUNIT_CUSTOM );
SetUnit( FUNIT_PERCENT );
Clear();
sal_uInt16 i = nRelMin;
......
......@@ -123,8 +123,7 @@ void SvxRelativeField::SetRelative( sal_Bool bNewRelative )
SetDecimalDigits( 0 );
SetMin( nRelMin );
SetMax( nRelMax );
SetCustomUnitText( String( sal_Unicode( '%' ) ) );
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