summaryrefslogtreecommitdiff
path: root/vcl/source/app/i18nhelp.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-12 12:39:13 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-12 12:43:12 +0200
commit20c43a23d1d02523da2a72c37b839350798c775f (patch)
treeca091afc2e1eaf39051aa6242c60764b5079bdb2 /vcl/source/app/i18nhelp.cxx
parentd4c09a4e3737c1355c666299d8a3f3f30dc659dd (diff)
"Unicode" is a proper noun and should not be used in plural
The 16-bit things that make up the UTF-16 encoding are called "code units". Change-Id: Iab2b83323783e518198c1a0553f7b053fc415985
Diffstat (limited to 'vcl/source/app/i18nhelp.cxx')
-rw-r--r--vcl/source/app/i18nhelp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/i18nhelp.cxx b/vcl/source/app/i18nhelp.cxx
index d59fdc46eff2..f4f47a553c4d 100644
--- a/vcl/source/app/i18nhelp.cxx
+++ b/vcl/source/app/i18nhelp.cxx
@@ -98,10 +98,10 @@ inline bool is_formatting_mark( sal_Unicode c )
*/
OUString vcl::I18nHelper::filterFormattingChars( const OUString& rStr )
{
- sal_Int32 nUnicodes = rStr.getLength();
- OUStringBuffer aBuf( nUnicodes );
+ sal_Int32 nLength = rStr.getLength();
+ OUStringBuffer aBuf( nLength );
const sal_Unicode* pStr = rStr.getStr();
- while( nUnicodes-- )
+ while( nLength-- )
{
if( ! is_formatting_mark( *pStr ) )
aBuf.append( *pStr );