Author: hanya
Date: Sat Jan 18 09:52:44 2014
New Revision: 1559337
URL: http://svn.apache.org/r1559337
Log:
#i56998# percent value should not takes space separator before the character
Modified:
openoffice/trunk/main/vcl/source/control/field.cxx
Modified: openoffice/trunk/main/vcl/source/control/field.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/control/field.cxx?rev=1559337&r1=1559336&r2=1559337&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/control/field.cxx (original)
+++ openoffice/trunk/main/vcl/source/control/field.cxx Sat Jan 18 09:52:44 2014
@@ -1586,7 +1586,7 @@ XubString MetricFormatter::CreateFieldTe
aStr += maCustomUnitText;
else
{
- if ( meUnit != FUNIT_NONE || meUnit != FUNIT_PERCENT )
+ if ( meUnit != FUNIT_NONE && meUnit != FUNIT_PERCENT )
aStr += xub_Unicode( ' ' );
aStr += ImplMetricToString( meUnit );
}