summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxcurr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxcurr.cxx')
-rw-r--r--basic/source/sbx/sbxcurr.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx
index e27b11d5166c..d94586c50a12 100644
--- a/basic/source/sbx/sbxcurr.cxx
+++ b/basic/source/sbx/sbxcurr.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -151,7 +152,7 @@ start:
case SbxBYREF | SbxCURRENCY:
nRes = *p->pLong64; break;
- // ab hier muss getestet werden
+ // from here on had to be tested
case SbxBYREF | SbxLONG:
aTmp.nLong = *p->pLong; goto ref;
case SbxBYREF | SbxULONG:
@@ -182,7 +183,7 @@ void ImpPutCurrency( SbxValues* p, const SbxINT64 &r )
start:
switch( +p->eType )
{
- // Hier sind Tests notwendig
+ // Here are tests necessary
case SbxCHAR:
aTmp.pChar = &p->nChar; goto direct;
case SbxBYTE:
@@ -201,7 +202,7 @@ start:
aTmp.eType = SbxDataType( p->eType | SbxBYREF );
p = &aTmp; goto start;
- // ab hier nicht mehr
+ // from here no longer
case SbxSINGLE:
p->nSingle = (float)dVal; break;
case SbxDATE:
@@ -317,7 +318,7 @@ start:
}
}
-// Hilfs-Funktionen zur Wandlung
+// help functions for the conversion
static ::rtl::OUString ImpCurrencyToString( const SbxINT64 &r )
{
@@ -393,3 +394,4 @@ SbxUINT64 ImpDoubleToUINT64( double d )
return nRes;
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */