summaryrefslogtreecommitdiff
path: root/vcl/source/control/longcurr.cxx
diff options
context:
space:
mode:
authorChristian M. Heller <christian.heller63@gmail.com>2013-03-24 10:28:49 -0400
committerThomas Arnhold <thomas@arnhold.org>2013-03-26 23:36:57 +0000
commit69a9cffb9e6285a8735e4b35cdea9db4b118063c (patch)
tree3add3d002852092954ce987e8617ff8812474ea7 /vcl/source/control/longcurr.cxx
parent68fb0521999babdc24acbae3fc2ddd35fc7f4006 (diff)
fdo#39468 Translate German comments - vcl/source/control/
FYI: there is some code duplication noticeable between slider and scrbar Conflicts: vcl/source/control/longcurr.cxx vcl/source/control/lstbox.cxx vcl/source/control/menubtn.cxx vcl/source/control/morebtn.cxx vcl/source/control/prgsbar.cxx vcl/source/control/scrbar.cxx Change-Id: I736cf155e252293ed571cd44a6a395b15c4bf576 Reviewed-on: https://gerrit.libreoffice.org/2966 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'vcl/source/control/longcurr.cxx')
-rw-r--r--vcl/source/control/longcurr.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/control/longcurr.cxx b/vcl/source/control/longcurr.cxx
index ba5e5b3147aa..52f28e8cd470 100644
--- a/vcl/source/control/longcurr.cxx
+++ b/vcl/source/control/longcurr.cxx
@@ -188,7 +188,7 @@ static sal_Bool ImplNumericGetValue( const XubString& rStr, BigInt& rValue,
bNegative = sal_True;
}
- // Throw out all unwanted chars
+ // delete unwanted characters
for (xub_StrLen i=0; i < aStr1.Len(); )
{
if ( (aStr1.GetChar( i ) >= '0') && (aStr1.GetChar( i ) <= '9') )
@@ -226,7 +226,7 @@ static sal_Bool ImplNumericGetValue( const XubString& rStr, BigInt& rValue,
aStr = aStr1;
aStr += aStr2.makeStringAndClear();
- // Boundscheck
+ // check range
BigInt nValue( aStr );
if ( bRound )
{
@@ -420,7 +420,6 @@ void LongCurrencyFormatter::SetUseThousandSep( sal_Bool b )
void LongCurrencyFormatter::SetDecimalDigits( sal_uInt16 nDigits )
{
-
if ( nDigits > 9 )
nDigits = 9;