summaryrefslogtreecommitdiff
path: root/sdext
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 /sdext
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 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/pdfiprocessor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
index a19f71642fce..7463089277a1 100644
--- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx
+++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
@@ -609,12 +609,12 @@ void PDFIProcessor::startIndicator( const OUString& rText )
sal_Int32 nElements = m_nPages;
if( m_xStatusIndicator.is() )
{
- sal_Int32 nUnicodes = rText.getLength();
- OUStringBuffer aStr( nUnicodes*2 );
+ sal_Int32 nLength = rText.getLength();
+ OUStringBuffer aStr( nLength*2 );
const sal_Unicode* pText = rText.getStr();
- for( int i = 0; i < nUnicodes; i++ )
+ for( int i = 0; i < nLength; i++ )
{
- if( nUnicodes-i > 1&&
+ if( nLength-i > 1&&
pText[i] == '%' &&
pText[i+1] == 'd'
)