[Libreoffice-commits] .: basic/source
Joseph Powers
jpowers at kemper.freedesktop.org
Tue Dec 21 20:39:41 PST 2010
basic/source/sbx/sbxcurr.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 49f952dda3167b60c4091c2a24c4c504ee20c4ce
Author: Joseph Powers <jpowers27 at cox.net>
Date: Tue Dec 21 20:39:25 2010 -0800
Fix ambigous warning.
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx
index 9278ada..333d512 100644
--- a/basic/source/sbx/sbxcurr.cxx
+++ b/basic/source/sbx/sbxcurr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -206,7 +206,7 @@ static sal_Int64 ImpStringToCurrency( const rtl::OUString &rStr )
SbxBase::SetError( SbxERR_CONVERSION );
while( nFractDigit )
{
- sNormalisedNumString.append( '0' );
+ sNormalisedNumString.append( sal_Unicode('0') );
nFractDigit--;
}
@@ -415,7 +415,7 @@ start:
{
SbxDecimal* pDec = ImpCreateDecimal( p );
if( !pDec->setDouble( ImpCurrencyToDouble( r ) / CURRENCY_FACTOR ) )
- SbxBase::SetError( SbxERR_OVERFLOW );
+ SbxBase::SetError( SbxERR_OVERFLOW );
break;
}
case SbxBYREF | SbxSTRING:
More information about the Libreoffice-commits
mailing list