Kaydet (Commit) e72bf683 authored tarafından Caolán McNamara's avatar Caolán McNamara

use a narrow no-break space instead of (normal) no-break space for de

Change-Id: Iae0c70ab713a0d95fa7bc447f8a79e244c5a4258
üst 29a287f3
......@@ -956,8 +956,14 @@ OUString SAL_CALL unicode::formatPercent(double dNumber,
UnicodeString output;
xF->format(dNumber/100, output);
return OUString(reinterpret_cast<const sal_Unicode *>(output.getBuffer()),
OUString aRet(reinterpret_cast<const sal_Unicode *>(output.getBuffer()),
output.length());
if (rLangTag.getLanguage() == "de")
{
//narrow no-break space instead of (normal) no-break space
return aRet.replace(0x00A0, 0x202F);
}
return aRet;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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