summaryrefslogtreecommitdiff
path: root/basic/source/sbx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-14 08:16:35 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:32 +0200
commitd366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch)
tree4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /basic/source/sbx
parentd2fa59e4025050c9b668ecff379d668f0db52639 (diff)
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'basic/source/sbx')
-rw-r--r--basic/source/sbx/sbxcurr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx
index 571eeb757230..aac9e3399d26 100644
--- a/basic/source/sbx/sbxcurr.cxx
+++ b/basic/source/sbx/sbxcurr.cxx
@@ -92,10 +92,10 @@ static OUString ImpCurrencyToString( const sal_Int64 &rVal )
// 0 0.0000 0
// 0.1 0.1000 0.1
- aBuf[nInsertIndex--] = (sal_Unicode)'0';
+ aBuf[nInsertIndex--] = '0';
}
if ( isNeg )
- aBuf[nInsertIndex] = (sal_Unicode)'-';
+ aBuf[nInsertIndex] = '-';
aAbsStr = aBuf.makeStringAndClear();
return aAbsStr;
@@ -107,8 +107,8 @@ static sal_Int64 ImpStringToCurrency( const OUString &rStr )
sal_Int32 nFractDigit = 4;
- sal_Unicode cDeciPnt = sal_Unicode('.');
- sal_Unicode c1000Sep = sal_Unicode(',');
+ sal_Unicode cDeciPnt = '.';
+ sal_Unicode c1000Sep = ',';
#ifdef MAYBEFUTURE
sal_Unicode cLocaleDeciPnt, cLocale1000Sep;
@@ -202,7 +202,7 @@ static sal_Int64 ImpStringToCurrency( const OUString &rStr )
SbxBase::SetError( SbxERR_CONVERSION );
while( nFractDigit )
{
- sNormalisedNumString.append( sal_Unicode('0') );
+ sNormalisedNumString.append( '0' );
nFractDigit--;
}