summaryrefslogtreecommitdiff
path: root/unotools/source/config
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-10-19 05:34:48 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-19 10:55:56 +0000
commit8eb5db89978547547510b2954918c9881eeecb52 (patch)
treea3b7bb76eb6b0aa6376fe54aa78d1ce8884a6f59 /unotools/source/config
parentbd5921b7371c41267ec42a2784778e7b34641ac5 (diff)
replace sxub_Unicode by sal_Unicode
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: https://gerrit.libreoffice.org/887 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'unotools/source/config')
-rw-r--r--unotools/source/config/fontcfg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index 0f6b39b5e802..9a4b52c46183 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -677,8 +677,8 @@ static bool ImplKillLeading( String& rName, const char* const* ppStr )
for(; *ppStr; ++ppStr )
{
const char* pStr = *ppStr;
- const xub_Unicode* pNameStr = rName.GetBuffer();
- while ( (*pNameStr == (xub_Unicode)(unsigned char)*pStr) && *pStr )
+ const sal_Unicode* pNameStr = rName.GetBuffer();
+ while ( (*pNameStr == (sal_Unicode)(unsigned char)*pStr) && *pStr )
{
pNameStr++;
pStr++;
@@ -693,7 +693,7 @@ static bool ImplKillLeading( String& rName, const char* const* ppStr )
// special case for Baekmuk
// TODO: allow non-ASCII KillLeading list
- const xub_Unicode* pNameStr = rName.GetBuffer();
+ const sal_Unicode* pNameStr = rName.GetBuffer();
if( (pNameStr[0]==0xBC31) && (pNameStr[1]==0xBC35) )
{
xub_StrLen nLen = (pNameStr[2]==0x0020) ? 3 : 2;
@@ -712,7 +712,7 @@ static xub_StrLen ImplIsTrailing( const String& rName, const char* pStr )
if( nStrLen >= rName.Len() )
return 0;
- const xub_Unicode* pEndName = rName.GetBuffer() + rName.Len();
+ const sal_Unicode* pEndName = rName.GetBuffer() + rName.Len();
const sal_Unicode* pNameStr = pEndName - nStrLen;
do if( *(pNameStr++) != *(pStr++) )
return 0;