summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-15 10:42:04 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-15 11:14:28 +0300
commitcb6d67c21f11811c5bc023b9565c1c1b1f4081fa (patch)
treeff8a4b192a2ca846d32111732563432244135910 /basic
parent1a357b7394ac7b48b72821bff1aae4706265d7a4 (diff)
Spelling "separate" (etc) correctly is hard
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx2
-rw-r--r--basic/source/sbx/sbxcurr.cxx6
-rw-r--r--basic/source/sbx/sbxscan.cxx2
-rw-r--r--basic/source/sbx/sbxvalue.cxx4
4 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 19d52a8cbc8f..ff85d10bd49e 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -3448,7 +3448,7 @@ RTLFUNC(Shell)
sal_Int32 nLen = aCmdLine.getLength();
// #55735 if there are parameters, they have to be separated
- // #72471 also seperate the single parameters
+ // #72471 also separate the single parameters
std::list<String> aTokenList;
OUString aToken;
sal_Int32 i = 0;
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx
index 328bbcf72a9c..422c0dde799c 100644
--- a/basic/source/sbx/sbxcurr.cxx
+++ b/basic/source/sbx/sbxcurr.cxx
@@ -54,8 +54,8 @@ static OUString ImpCurrencyToString( const sal_Int64 &rVal )
#ifdef MAYBEFUTURE
if ( initialLen > 5 )
{
- sal_Int32 nThouSeperators = ( initialLen - 5 ) / 3;
- nCapacity += nThouSeperators;
+ sal_Int32 nThouSeparators = ( initialLen - 5 ) / 3;
+ nCapacity += nThouSeparators;
}
#endif
}
@@ -158,7 +158,7 @@ static sal_Int64 ImpStringToCurrency( const OUString &rStr )
OUString sTmp( rStr.trim() );
const sal_Unicode* p = sTmp.getStr();
- // normalise string number by removeing thousands & decimal point seperators
+ // normalise string number by removeing thousands & decimal point separators
OUStringBuffer sNormalisedNumString( sTmp.getLength() + nFractDigit );
if ( *p == '-' || *p == '+' )
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index ff6109ee0c9c..c136e95c61b3 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -506,7 +506,7 @@ static sal_uInt16 printfmtnum( double nNum, OUString& rRes, const OUString& rWFm
short nPrec = 0; // number of positions after decimal point
short nWidth = 0; // number range completely
short nLen; // length of converted number
- bool bPoint = false; // true: with 1000 seperators
+ bool bPoint = false; // true: with 1000 separators
bool bTrail = false; // true, if following minus
bool bSign = false; // true: always with leading sign
bool bNeg = false; // true: number is negative
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index dc4c77788aba..f0ea5d13d0f3 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -578,7 +578,7 @@ sal_Bool SbxValue::Put( const SbxValues& rVal )
// Method to execute a pretreatment of the strings at special types.
// In particular necessary for BASIC-IDE, so that
// the output in the Watch-Window can be writen back with PutStringExt,
-// if Float were declared with ',' as the decimal seperator or BOOl
+// if Float were declared with ',' as the decimal separator or BOOl
// explicit with "TRUE" or "FALSE".
// Implementation in ImpConvStringExt (SBXSCAN.CXX)
sal_Bool SbxValue::PutStringExt( const OUString& r )
@@ -715,7 +715,7 @@ sal_Bool SbxValue::IsFixed() const
// A variable is numeric, if it is EMPTY or realy numeric
// or if it contains a complete convertible String
-// #41692, implement it for RTL and Basic-Core seperably
+// #41692, implement it for RTL and Basic-Core separately
sal_Bool SbxValue::IsNumeric() const
{
return ImpIsNumeric( /*bOnlyIntntl*/false );