summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/crsr/findtxt.cxx2
-rw-r--r--sw/source/core/doc/docchart.cxx8
-rw-r--r--sw/source/core/doc/docdde.cxx2
-rw-r--r--sw/source/core/doc/docedt.cxx2
-rw-r--r--sw/source/core/doc/docfld.cxx4
-rw-r--r--sw/source/core/doc/docfmt.cxx6
-rw-r--r--sw/source/core/doc/ftnidx.cxx2
-rw-r--r--sw/source/core/docnode/ndsect.cxx4
-rw-r--r--sw/source/core/docnode/node.cxx2
-rw-r--r--sw/source/core/docnode/section.cxx10
-rw-r--r--sw/source/core/edit/autofmt.cxx2
-rw-r--r--sw/source/core/fields/ddefld.cxx8
-rw-r--r--sw/source/core/graphic/ndgrf.cxx8
-rw-r--r--sw/source/core/tox/txmsrt.cxx4
-rw-r--r--sw/source/core/txtnode/txtedt.cxx2
-rw-r--r--sw/source/core/undo/untbl.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--sw/source/core/unocore/unofield.cxx8
-rw-r--r--sw/source/core/unocore/unosect.cxx36
19 files changed, 57 insertions, 57 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index c21e6bc76562..cb6ec35fc33e 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -271,7 +271,7 @@ sal_uInt8 SwPaM::Find( const SearchOptions& rSearchOpt, sal_Bool bSearchInNotes
/* #i80135# */
// if there are SwPostItFields inside our current node text, we
- // split the text into seperate pieces and search for text inside
+ // split the text into separate pieces and search for text inside
// the pieces as well as inside the fields
const SwpHints *pHts = ((SwTxtNode*)pNode)->GetpSwpHints();
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx
index 226d6bb8352f..ebc0d10f1e75 100644
--- a/sw/source/core/doc/docchart.cxx
+++ b/sw/source/core/doc/docchart.cxx
@@ -63,11 +63,11 @@ bool SwTable::IsTblComplexForChart( const String& rSelection ) const
if( '<' == sBox.GetChar( 0 ) ) sBox.Erase( 0, 1 );
if( '>' == sBox.GetChar( sBox.Len()-1 ) ) sBox.Erase( sBox.Len()-1 );
- xub_StrLen nSeperator = sBox.Search( ':' );
- OSL_ENSURE( STRING_NOTFOUND != nSeperator, "no valid selection" );
+ xub_StrLen nSeparator = sBox.Search( ':' );
+ OSL_ENSURE( STRING_NOTFOUND != nSeparator, "no valid selection" );
- pSttBox = GetTblBox( sBox.Copy( 0, nSeperator ));
- pEndBox = GetTblBox( sBox.Copy( nSeperator+1 ));
+ pSttBox = GetTblBox( sBox.Copy( 0, nSeparator ));
+ pEndBox = GetTblBox( sBox.Copy( nSeparator+1 ));
}
else
{
diff --git a/sw/source/core/doc/docdde.cxx b/sw/source/core/doc/docdde.cxx
index ae7437fc14f5..502ed342eae5 100644
--- a/sw/source/core/doc/docdde.cxx
+++ b/sw/source/core/doc/docdde.cxx
@@ -297,7 +297,7 @@ bool SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
INetURLObject::DECODE_WITH_CHARSET,
RTL_TEXTENCODING_UTF8 ));
- xub_StrLen nPos = sItem.Search( cMarkSeperator );
+ xub_StrLen nPos = sItem.Search( cMarkSeparator );
const CharClass& rCC = GetAppCharClass();
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 1f36b91e8a9b..f169ae5a5172 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -1343,7 +1343,7 @@ void sw_JoinText( SwPaM& rPam, sal_Bool bJoinPrev )
::_RestoreCntntIdx( pDoc, aBkmkArr, aIdx.GetIndex() );
// If the passed PaM is not in the Crsr ring,
- // treat it seperately (e.g. when it's being called from AutoFormat)
+ // treat it separately (e.g. when it's being called from AutoFormat)
if( pOldTxtNd == rPam.GetBound( sal_True ).nContent.GetIdxReg() )
rPam.GetBound( sal_True ) = aAlphaPos;
if( pOldTxtNd == rPam.GetBound( sal_False ).nContent.GetIdxReg() )
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index 65222e7ee41d..a78a59289742 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -332,7 +332,7 @@ void SwDoc::UpdateFlds( SfxPoolItem *pNewHt, bool bCloseDB )
case RES_SETEXPFLD:
case RES_HIDDENTXTFLD:
case RES_HIDDENPARAFLD:
- // Expression fields are treated seperately
+ // Expression fields are treated separately
if( !pNewHt )
break;
default:
@@ -1226,7 +1226,7 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
{
const SwFieldType* pFldType;
- // process seperately:
+ // process separately:
for( n = mpFldTypes->size(); n; )
switch( ( pFldType = (*mpFldTypes)[ --n ] )->Which() )
{
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 702156faad7c..49a36da82d3b 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -634,7 +634,7 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
// TextAttributes with an end never expand their range
if ( !bCharAttr && !bOtherAttr )
{
- // CharFmt and URL attributes are treated seperately!
+ // CharFmt and URL attributes are treated separately!
// TEST_TEMP ToDo: AutoFmt!
SfxItemSet aTxtSet( pDoc->GetAttrPool(),
RES_TXTATR_REFMARK, RES_TXTATR_TOXMARK,
@@ -2086,7 +2086,7 @@ void SwDoc::CopyPageDesc( const SwPageDesc& rSrcDesc, SwPageDesc& rDstDesc,
bNotifyLayout = true;
}
- // the header and footer attributes are copied seperately
+ // the header and footer attributes are copied separately
// the content sections have to be copied in their entirety
{
SfxItemSet aAttrSet( rSrcDesc.GetMaster().GetAttrSet() );
@@ -2383,7 +2383,7 @@ void SwDoc::SetTxtFmtCollByAutoFmt( const SwPosition& rPos, sal_uInt16 nPoolId,
{
SfxItemSet aTmp( *pTNd->GetpSwAttrSet() );
aTmp.Differentiate( *pSet );
- // we handle the adjust item seperately
+ // we handle the adjust item separately
const SfxPoolItem* pItem;
if( SFX_ITEM_SET == pTNd->GetpSwAttrSet()->GetItemState(
RES_PARATR_ADJUST, sal_False, &pItem ))
diff --git a/sw/source/core/doc/ftnidx.cxx b/sw/source/core/doc/ftnidx.cxx
index cf32b50adbcf..2f3306f8f82b 100644
--- a/sw/source/core/doc/ftnidx.cxx
+++ b/sw/source/core/doc/ftnidx.cxx
@@ -52,7 +52,7 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
const SwFtnInfo& rFtnInfo = pDoc->GetFtnInfo();
// For normal foot notes we treat per-chapter and per-document numbering
- // seperately. For Endnotes we only have per-document numbering.
+ // separately. For Endnotes we only have per-document numbering.
if( FTNNUM_CHAPTER == rFtnInfo.eNum )
{
const SwOutlineNodes& rOutlNds = pDoc->GetNodes().GetOutLineNds();
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 38a558849628..9c389f1b906a 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -679,8 +679,8 @@ void SwDoc::UpdateSection(sal_uInt16 const nPos, SwSectionData & rNewData,
::sw::UndoGuard const undoGuard(GetIDocumentUndoRedo());
// The LinkFileName could only consist of separators
- String sCompareString = OUString(sfx2::cTokenSeperator);
- sCompareString += sfx2::cTokenSeperator;
+ String sCompareString = OUString(sfx2::cTokenSeparator);
+ sCompareString += sfx2::cTokenSeparator;
const bool bUpdate =
(!pSection->IsLinkType() && rNewData.IsLinkType())
|| (rNewData.GetLinkFileName().Len()
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index b6f27f068fca..90f371cdf831 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -815,7 +815,7 @@ const SwTxtNode* SwNode::FindOutlineNodeOfLevel( sal_uInt8 nLvl ) const
->GetAttrOutlineLevel() - 1 )
--nPos;
- if( !nPos ) // Get seperately when 0
+ if( !nPos ) // Get separately when 0
pRet = rONds[0]->GetTxtNode();
}
}
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index 56239af0f94f..54c3e589505d 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -560,8 +560,8 @@ const String& SwSection::GetLinkFileName() const
m_RefLink->GetLinkManager()->GetDisplayNames(
m_RefLink, 0, &sTmp, &sRange, &sFilter ))
{
- ( sTmp += sfx2::cTokenSeperator ) += sFilter;
- ( sTmp += sfx2::cTokenSeperator ) += sRange;
+ ( sTmp += sfx2::cTokenSeparator ) += sFilter;
+ ( sTmp += sfx2::cTokenSeparator ) += sRange;
}
else if( GetFmt() && !GetFmt()->GetSectionNode() )
{
@@ -1636,11 +1636,11 @@ void SwSection::CreateLink( LinkCreateType eCreateType )
case FILE_LINK_SECTION:
{
pLnk->SetContentType( FORMAT_FILE );
- String sFltr( sCmd.GetToken( 1, sfx2::cTokenSeperator ) );
- String sRange( sCmd.GetToken( 2, sfx2::cTokenSeperator ) );
+ String sFltr( sCmd.GetToken( 1, sfx2::cTokenSeparator ) );
+ String sRange( sCmd.GetToken( 2, sfx2::cTokenSeparator ) );
pFmt->GetDoc()->GetLinkManager().InsertFileLink( *pLnk,
static_cast<sal_uInt16>(m_Data.GetType()),
- sCmd.GetToken( 0, sfx2::cTokenSeperator ),
+ sCmd.GetToken( 0, sfx2::cTokenSeparator ),
( sFltr.Len() ? &sFltr : 0 ),
( sRange.Len() ? &sRange : 0 ) );
}
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index b2ebf5ec8d2d..e8a553ba552d 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -2051,7 +2051,7 @@ void SwAutoFormat::AutoCorrect( xub_StrLen nPos )
bFirstSent = sal_True;
default:
if( !( rAppCC.isLetterNumeric( *pTxt, nPos )
- || '/' == cChar )) // '/' should not be a word seperator (e.g. '1/2' needs to be handled as one word for replacement)
+ || '/' == cChar )) // '/' should not be a word separator (e.g. '1/2' needs to be handled as one word for replacement)
{
--nPos; // ++nPos von dem for ungueltig machen !
++bBreak;
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx
index 5f79e3c7823a..a6d048ed7206 100644
--- a/sw/source/core/fields/ddefld.cxx
+++ b/sw/source/core/fields/ddefld.cxx
@@ -338,7 +338,7 @@ bool SwDDEFieldType::QueryValue( uno::Any& rVal, sal_uInt16 nWhichId ) const
OSL_FAIL("illegal property");
}
if( nPart )
- rVal <<= OUString(GetCmd().GetToken(nPart-1, sfx2::cTokenSeperator));
+ rVal <<= OUString(GetCmd().GetToken(nPart-1, sfx2::cTokenSeparator));
return true;
}
@@ -368,9 +368,9 @@ bool SwDDEFieldType::PutValue( const uno::Any& rVal, sal_uInt16 nWhichId )
if( nPart )
{
String sTmp, sCmd( GetCmd() );
- while(3 > comphelper::string::getTokenCount(sCmd, sfx2::cTokenSeperator))
- sCmd += sfx2::cTokenSeperator;
- sCmd.SetToken( nPart-1, sfx2::cTokenSeperator, ::GetString( rVal, sTmp ) );
+ while(3 > comphelper::string::getTokenCount(sCmd, sfx2::cTokenSeparator))
+ sCmd += sfx2::cTokenSeparator;
+ sCmd.SetToken( nPart-1, sfx2::cTokenSeparator, ::GetString( rVal, sTmp ) );
SetCmd( sCmd );
}
return true;
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 5a1eea594187..5cedf29e600d 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -586,8 +586,8 @@ bool SwGrfNode::GetFileFilterNms( String* pFileNm, String* pFilterNm ) const
if( refLink->GetLinkManager()->GetDisplayNames(
refLink, &sApp, &sTopic, &sItem ) )
{
- ( *pFileNm = sApp ) += sfx2::cTokenSeperator;
- ( *pFileNm += sTopic ) += sfx2::cTokenSeperator;
+ ( *pFileNm = sApp ) += sfx2::cTokenSeparator;
+ ( *pFileNm += sTopic ) += sfx2::cTokenSeparator;
*pFileNm += sItem;
pFilterNm->AssignAscii( RTL_CONSTASCII_STRINGPARAM( "DDE" ));
bRet = true;
@@ -654,8 +654,8 @@ void SwGrfNode::InsertLink( const String& rGrfName, const String& rFltName )
{
sal_Int32 nTmp = 0;
String sApp, sTopic, sItem;
- sApp = rGrfName.GetToken( 0, sfx2::cTokenSeperator, nTmp );
- sTopic = rGrfName.GetToken( 0, sfx2::cTokenSeperator, nTmp );
+ sApp = rGrfName.GetToken( 0, sfx2::cTokenSeparator, nTmp );
+ sTopic = rGrfName.GetToken( 0, sfx2::cTokenSeparator, nTmp );
sItem = rGrfName.Copy( nTmp );
pIDLA->GetLinkManager().InsertDDELink( refLink,
sApp, sTopic, sItem );
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx
index 106ef4741f91..22e7091e00d4 100644
--- a/sw/source/core/tox/txmsrt.cxx
+++ b/sw/source/core/tox/txmsrt.cxx
@@ -685,7 +685,7 @@ String SwTOXPara::GetURL() const
SwFrmFmt* pFly = pNd->GetFlyFmt();
if( pFly )
{
- (( aTxt = '#' ) += pFly->GetName() ) += cMarkSeperator;
+ (( aTxt = '#' ) += pFly->GetName() ) += cMarkSeparator;
const sal_Char* pStr;
switch( eType )
{
@@ -746,7 +746,7 @@ String SwTOXTable::GetURL() const
aTxt = ((SwTableNode*)pNd)->GetTable().GetFrmFmt()->GetName();
if( aTxt.Len() )
{
- ( aTxt.Insert( '#', 0 ) += cMarkSeperator ).
+ ( aTxt.Insert( '#', 0 ) += cMarkSeparator ).
AppendAscii( pMarkToTable );
}
}
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 45f5c7288baa..e1c282452d80 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -665,7 +665,7 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
//additional ones can be added in under tools->options
if (nWordType == i18n::WordType::WORD_COUNT)
{
- OUString sDashes = officecfg::Office::Writer::WordCount::AdditionalSeperators::get();
+ OUString sDashes = officecfg::Office::Writer::WordCount::AdditionalSeparators::get();
OUStringBuffer aBuf(aPreDashReplacementText);
for (sal_Int32 i = nStartPos; i < nEndPos; ++i)
{
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index f75ad8ec88ad..a3793d26a3d5 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -555,7 +555,7 @@ SwTableNode* SwNodes::UndoTableToText( sal_uLong nSttNd, sal_uLong nEndNd,
if( USHRT_MAX != pSave->m_nCntnt )
{
- // split at ContentPosition, delete previous char (= seperator)
+ // split at ContentPosition, delete previous char (= separator)
OSL_ENSURE( pTxtNd, "Where is my TextNode?" );
SwIndex aCntPos( pTxtNd, pSave->m_nCntnt - 1 );
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 14484459e1ea..363c45c4efc1 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -788,7 +788,7 @@ uno::Reference< chart2::data::XDataSource > SwChartDataProvider::Impl_createData
}
aDataLen[oi] = nL;
- // check that there is no other seperate sequence of data
+ // check that there is no other separate sequence of data
// to be found because that is not supported
while (ii < iiEnd)
{
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index 53a3de7ebb79..9d0e282212a3 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -689,10 +689,10 @@ void SwXFieldMaster::setPropertyValue( const OUString& rPropertyName,
{
String sTmp;
if(!sParam1.Len())
- (sParam1 = sfx2::cTokenSeperator)
- += sfx2::cTokenSeperator;
+ (sParam1 = sfx2::cTokenSeparator)
+ += sfx2::cTokenSeparator;
- sParam1.SetToken( nPart, sfx2::cTokenSeperator,
+ sParam1.SetToken( nPart, sfx2::cTokenSeparator,
::GetString( rValue, sTmp ));
}
else if(3 == nPart)
@@ -871,7 +871,7 @@ uno::Any SwXFieldMaster::getPropertyValue(const OUString& rPropertyName)
rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_DDE_COMMAND_ELEMENT)) ? 2 :
rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_IS_AUTOMATIC_UPDATE)) ? 3 : USHRT_MAX;
if(nPart < 3 )
- pStr = &(sStr = sParam1.GetToken(nPart, sfx2::cTokenSeperator));
+ pStr = &(sStr = sParam1.GetToken(nPart, sfx2::cTokenSeparator));
else if(3 == nPart)
aRet.setValue(&bParam1, ::getBooleanCppuType());
}
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx
index 4ea1fcf9e464..749b53d823af 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -337,9 +337,9 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
SwSectionData aSect(eType, pDoc->GetUniqueSectionName(&tmp));
aSect.SetCondition(m_pImpl->m_pProps->m_sCondition);
OUStringBuffer sLinkNameBuf(m_pImpl->m_pProps->m_sLinkFileName);
- sLinkNameBuf.append(sfx2::cTokenSeperator);
+ sLinkNameBuf.append(sfx2::cTokenSeparator);
sLinkNameBuf.append(m_pImpl->m_pProps->m_sSectionFilter);
- sLinkNameBuf.append(sfx2::cTokenSeperator);
+ sLinkNameBuf.append(sfx2::cTokenSeparator);
sLinkNameBuf.append(m_pImpl->m_pProps->m_sSectionRegion);
aSect.SetLinkFileName(sLinkNameBuf.makeStringAndClear());
@@ -623,14 +623,14 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
if (!m_pProps->m_bDDE)
{
OUStringBuffer buf;
- buf.append(sfx2::cTokenSeperator);
- buf.append(sfx2::cTokenSeperator);
+ buf.append(sfx2::cTokenSeparator);
+ buf.append(sfx2::cTokenSeparator);
m_pProps->m_sLinkFileName = buf.makeStringAndClear();
m_pProps->m_bDDE = true;
}
String sLinkFileName(m_pProps->m_sLinkFileName);
sLinkFileName.SetToken(pEntry->nWID - WID_SECT_DDE_TYPE,
- sfx2::cTokenSeperator, sTmp);
+ sfx2::cTokenSeparator, sTmp);
m_pProps->m_sLinkFileName = sLinkFileName;
}
else
@@ -638,12 +638,12 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
String sLinkFileName(pSectionData->GetLinkFileName());
if (pSectionData->GetType() != DDE_LINK_SECTION)
{
- sLinkFileName = sfx2::cTokenSeperator;
- sLinkFileName += sfx2::cTokenSeperator;
+ sLinkFileName = sfx2::cTokenSeparator;
+ sLinkFileName += sfx2::cTokenSeparator;
pSectionData->SetType(DDE_LINK_SECTION);
}
sLinkFileName.SetToken(pEntry->nWID - WID_SECT_DDE_TYPE,
- sfx2::cTokenSeperator, sTmp);
+ sfx2::cTokenSeparator, sTmp);
pSectionData->SetLinkFileName(sLinkFileName);
}
}
@@ -694,12 +694,12 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
->GetURLObject(),
aLink.FileURL, URIHelper::GetMaybeFileHdl()));
}
- sFileNameBuf.append(sfx2::cTokenSeperator);
+ sFileNameBuf.append(sfx2::cTokenSeparator);
sFileNameBuf.append(aLink.FilterName);
- sFileNameBuf.append(sfx2::cTokenSeperator);
+ sFileNameBuf.append(sfx2::cTokenSeparator);
sFileNameBuf.append(
pSectionData->GetLinkFileName().GetToken(2,
- sfx2::cTokenSeperator));
+ sfx2::cTokenSeparator));
const OUString sFileName(
sFileNameBuf.makeStringAndClear());
pSectionData->SetLinkFileName(sFileName);
@@ -727,11 +727,11 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
pSectionData->SetType(FILE_LINK_SECTION);
}
String sSectLink(pSectionData->GetLinkFileName());
- while (3 < comphelper::string::getTokenCount(sSectLink, sfx2::cTokenSeperator))
+ while (3 < comphelper::string::getTokenCount(sSectLink, sfx2::cTokenSeparator))
{
- sSectLink += sfx2::cTokenSeperator;
+ sSectLink += sfx2::cTokenSeparator;
}
- sSectLink.SetToken(2, sfx2::cTokenSeperator, sLink);
+ sSectLink.SetToken(2, sfx2::cTokenSeparator, sLink);
pSectionData->SetLinkFileName(sSectLink);
if (sSectLink.Len() < 3)
{
@@ -1019,7 +1019,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
}
sal_Int32 nDummy(0);
sRet = sRet.getToken(pEntry->nWID - WID_SECT_DDE_TYPE,
- sfx2::cTokenSeperator, nDummy);
+ sfx2::cTokenSeparator, nDummy);
pRet[nProperty] <<= sRet;
}
break;
@@ -1050,9 +1050,9 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
OUString sRet( pSect->GetLinkFileName() );
sal_Int32 nIndex(0);
aLink.FileURL =
- sRet.getToken(0, sfx2::cTokenSeperator, nIndex);
+ sRet.getToken(0, sfx2::cTokenSeparator, nIndex);
aLink.FilterName =
- sRet.getToken(0, sfx2::cTokenSeperator, nIndex);
+ sRet.getToken(0, sfx2::cTokenSeparator, nIndex);
}
pRet[nProperty] <<= aLink;
}
@@ -1067,7 +1067,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
else if (FILE_LINK_SECTION == pSect->GetType())
{
sRet = pSect->GetLinkFileName().GetToken(2,
- sfx2::cTokenSeperator);
+ sfx2::cTokenSeparator);
}
pRet[nProperty] <<= sRet;
}