diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 13:41:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 14:46:21 +0000 |
commit | c6c70c93461d5da4464ef38c8420b53ee609a4d1 (patch) | |
tree | ebb3e17ba715d8e7f4aa32930e31c7bb6edf0797 /svx | |
parent | 89a7b8a13285dcf614b162c1b8bd94b6785d3f87 (diff) |
Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOM
Change-Id: Ibac028120286c9deb2411fc547877eebac93f36f
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/grafctrl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 84b4844ebd4e..3fbce727ff2e 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -130,8 +130,7 @@ ImplGrafMetricField::ImplGrafMetricField( Window* pParent, const OUString& rCmd, { const long nMinVal = maCommand.startsWith( ".uno:GrafTransparence" ) ? 0 : -100; - SetUnit( FUNIT_CUSTOM ); - SetCustomUnitText( OUString(" %") ); + SetUnit(FUNIT_PERCENT); SetDecimalDigits( 0 ); SetMin( nMinVal ); |