summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxscan.cxx
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 /basic/source/sbx/sbxscan.cxx
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 'basic/source/sbx/sbxscan.cxx')
-rw-r--r--basic/source/sbx/sbxscan.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 7ea06b5e4fb5..c6f4d32f7dae 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -545,10 +545,10 @@ static sal_uInt16 printfmtnum( double nNum, XubString& rRes, const XubString& rW
if( nLen > nWidth ) rRes += '%';
else {
nWidth -= nLen;
- while( nWidth-- ) rRes += (xub_Unicode)cFill;
- if( cPre ) rRes += (xub_Unicode)cPre;
+ while( nWidth-- ) rRes += (sal_Unicode)cFill;
+ if( cPre ) rRes += (sal_Unicode)cPre;
}
- rRes += (xub_Unicode*)&(cBuf[0]);
+ rRes += (sal_Unicode*)&(cBuf[0]);
if( bTrail )
rRes += bNeg ? '-' : ' ';
@@ -559,9 +559,9 @@ static sal_uInt16 printfmtnum( double nNum, XubString& rRes, const XubString& rW
static sal_uInt16 printfmtstr( const XubString& rStr, XubString& rRes, const XubString& rFmt )
{
- const xub_Unicode* pStr = rStr.GetBuffer();
- const xub_Unicode* pFmtStart = rFmt.GetBuffer();
- const xub_Unicode* pFmt = pFmtStart;
+ const sal_Unicode* pStr = rStr.GetBuffer();
+ const sal_Unicode* pFmtStart = rFmt.GetBuffer();
+ const sal_Unicode* pFmt = pFmtStart;
rRes.Erase();
switch( *pFmt )
{
@@ -570,10 +570,10 @@ static sal_uInt16 printfmtstr( const XubString& rStr, XubString& rRes, const Xub
case '\\':
do
{
- rRes += *pStr ? *pStr++ : static_cast< xub_Unicode >(' ');
+ rRes += *pStr ? *pStr++ : static_cast< sal_Unicode >(' ');
pFmt++;
} while( *pFmt != '\\' );
- rRes += *pStr ? *pStr++ : static_cast< xub_Unicode >(' ');
+ rRes += *pStr ? *pStr++ : static_cast< sal_Unicode >(' ');
pFmt++; break;
case '&':
rRes = rStr;