summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/dialog/relfld.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/relfld.cxx b/svx/source/dialog/relfld.cxx
index 67a4a59d4fca..4d5a505e8ee6 100644
--- a/svx/source/dialog/relfld.cxx
+++ b/svx/source/dialog/relfld.cxx
@@ -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
{