From 8eb5db89978547547510b2954918c9881eeecb52 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Fri, 19 Oct 2012 05:34:48 -0500 Subject: replace sxub_Unicode by sal_Unicode Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: https://gerrit.libreoffice.org/887 Reviewed-by: Norbert Thiebaud Tested-by: Norbert Thiebaud --- basic/source/sbx/sbxscan.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'basic/source/sbx/sbxscan.cxx') 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; -- cgit v1.2.3