summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTsutomu Uchino <hanya@apache.org>2014-01-19 14:16:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-20 10:14:29 +0000
commit66ff6924d50fc77e7a3e80c74a12a088a874df8b (patch)
tree3c2b02b00ac9ea1840be925ee1bd936ccfe075b7 /svtools
parent01fc6acdf2aa836bdb54cae48fd5b89a7313c094 (diff)
Related: #i56998# use FUNIT_PERCENT on fields that allow relative value
(cherry picked from commit fc6fc5b576b972a8ea0551091cc57aa1cfe1334d) Conflicts: svtools/source/control/ctrlbox.cxx svx/source/dialog/relfld.cxx Change-Id: Ic8f0f550dbbcab0678fbeb9bf45a478b0cea642d
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 80de8e560b17..b77b737037ea 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -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;