summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/xsltdialog/typedetectionimport.cxx6
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx2
-rw-r--r--linguistic/source/dlistimp.cxx4
-rw-r--r--starmath/source/parse.cxx4
-rw-r--r--sw/source/core/unocore/unochart.cxx8
-rw-r--r--sw/source/filter/basflt/fltini.cxx2
6 files changed, 13 insertions, 13 deletions
diff --git a/filter/source/xsltdialog/typedetectionimport.cxx b/filter/source/xsltdialog/typedetectionimport.cxx
index e8be7db4414b..824a7acb5a92 100644
--- a/filter/source/xsltdialog/typedetectionimport.cxx
+++ b/filter/source/xsltdialog/typedetectionimport.cxx
@@ -99,18 +99,18 @@ void TypeDetectionImporter::fillFilterVector( XMLFilterVector& rFilters )
delete (*aIter++);
}
-static OUString getSubdata( int index, sal_Unicode delimeter, const OUString& rData )
+static OUString getSubdata( int index, sal_Unicode delimiter, const OUString& rData )
{
sal_Int32 nLastIndex = 0;
- sal_Int32 nNextIndex = rData.indexOf( delimeter );
+ sal_Int32 nNextIndex = rData.indexOf( delimiter );
OUString aSubdata;
while( index )
{
nLastIndex = nNextIndex + 1;
- nNextIndex = rData.indexOf( delimeter, nLastIndex );
+ nNextIndex = rData.indexOf( delimiter, nLastIndex );
index--;
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index deea834a4732..b7765e2e9231 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -280,7 +280,7 @@ static Sequence< OUString > createExtensionsSequence( const OUString& rExtension
// a non empty string has at least one extension
nExtensions++;
- // now count the delimeters ';'
+ // now count the delimiters ';'
const sal_Unicode * pString = rExtensions.getStr();
int i;
for( i = 0; i < nLength; i++, pString++ )
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index 8eb9102085ea..c6a8609da02b 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -802,11 +802,11 @@ static sal_Int32 lcl_GetToken( OUString &rToken,
break;
}
- if (i >= rText.getLength()) // delimeter not found
+ if (i >= rText.getLength()) // delimiter not found
rToken = rText.copy( nPos );
else
rToken = rText.copy( nPos, i - nPos );
- nRes = i + 1; // continue after found delimeter
+ nRes = i + 1; // continue after found delimiter
}
return nRes;
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 5a79bbb7cd11..b5e37655e42b 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -326,7 +326,7 @@ static const sal_Unicode aDelimiterTable[] =
};
bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
- // returns 'true' iff cChar is '\0' or a delimeter
+ // returns 'true' iff cChar is '\0' or a delimiter
{
OSL_ENSURE( nPos <= rTxt.getLength(), "index out of range" );
@@ -334,7 +334,7 @@ bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
if(!cChar)
return true;
- // check if 'cChar' is in the delimeter table
+ // check if 'cChar' is in the delimiter table
const sal_Unicode *pDelim = &aDelimiterTable[0];
for ( ; *pDelim != 0; pDelim++)
if (*pDelim == cChar)
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 965c332a94e1..f996ad50b7c4 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1765,7 +1765,7 @@ OUString SAL_CALL SwChartDataProvider::convertRangeToXML( const OUString& rRange
OUString aRes;
OUString aRangeRepresentation( rRangeRepresentation );
- // multiple ranges are delimeted by a ';' like in
+ // multiple ranges are delimited by a ';' like in
// "Table1.A1:A4;Table1.C2:C5" the same table must be used in all ranges!
sal_Int32 nNumRanges = comphelper::string::getTokenCount(aRangeRepresentation, ';');
SwTable* pFirstFoundTable = 0; // to check that only one table will be used
@@ -1815,7 +1815,7 @@ OUString SAL_CALL SwChartDataProvider::convertRangeToXML( const OUString& rRange
aCellRange.aLowerRight.bIsEmpty = false;
}
OUString aTmp( XMLRangeHelper::getXMLStringFromCellRange( aCellRange ) );
- if (!aRes.isEmpty()) // in case of multiple ranges add delimeter
+ if (!aRes.isEmpty()) // in case of multiple ranges add delimiter
aRes += " ";
aRes += aTmp;
}
@@ -1833,7 +1833,7 @@ OUString SAL_CALL SwChartDataProvider::convertRangeFromXML( const OUString& rXML
OUString aRes;
OUString aXMLRange( rXMLRange );
- // multiple ranges are delimeted by a ' ' like in
+ // multiple ranges are delimited by a ' ' like in
// "Table1.$A$1:.$A$4 Table1.$C$2:.$C$5" the same table must be used in all ranges!
sal_Int32 nNumRanges = comphelper::string::getTokenCount(aXMLRange, ' ');
OUString aFirstFoundTable; // to check that only one table will be used
@@ -1862,7 +1862,7 @@ OUString SAL_CALL SwChartDataProvider::convertRangeFromXML( const OUString& rXML
aCellRange.aLowerRight.nRow );
}
- if (!aRes.isEmpty()) // in case of multiple ranges add delimeter
+ if (!aRes.isEmpty()) // in case of multiple ranges add delimiter
aRes += ";";
aRes += aTmp;
}
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index 9b6cc60ce2fe..7018fdb7e647 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -600,7 +600,7 @@ OUString NameFromCharSet(rtl_TextEncoding nChrSet)
// 2. LineEnd - as CR/LR/CRLF
// 3. Fontname
// 4. Language
-// the delimetercharacter is ","
+// the delimiter character is ","
//
void SwAsciiOptions::ReadUserData( const OUString& rStr )