summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/fileobj.cxx8
-rw-r--r--sfx2/source/appl/linkmgr2.cxx22
-rw-r--r--sfx2/source/appl/lnkbase2.cxx4
3 files changed, 17 insertions, 17 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index 3fc73f07be01..1083a85956a4 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -432,8 +432,8 @@ void SvFileObject::Edit( Window* pParent, sfx2::SvBaseLink* pLink, const Link& r
if( !aDlg.Execute() )
{
sFile = aDlg.GetPath();
- sFile += ::sfx2::cTokenSeperator;
- sFile += ::sfx2::cTokenSeperator;
+ sFile += ::sfx2::cTokenSeparator;
+ sFile += ::sfx2::cTokenSeparator;
sFile += aDlg.GetCurrentFilter();
if ( aEndEditLink.IsSet() )
@@ -535,8 +535,8 @@ IMPL_LINK( SvFileObject, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg )
{
String sURL( _pFileDlg->GetPath() );
sFile = sURL;
- sFile += ::sfx2::cTokenSeperator;
- sFile += ::sfx2::cTokenSeperator;
+ sFile += ::sfx2::cTokenSeparator;
+ sFile += ::sfx2::cTokenSeparator;
sFile += impl_getFilter( sURL );
}
}
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index d5e6451f77d2..61483de27cf2 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -237,8 +237,8 @@ bool LinkManager::GetDisplayNames( const SvBaseLink * pLink,
case OBJECT_CLIENT_OLE:
{
sal_Int32 nPos = 0;
- String sFile( sLNm.GetToken( 0, ::sfx2::cTokenSeperator, nPos ) );
- String sRange( sLNm.GetToken( 0, ::sfx2::cTokenSeperator, nPos ) );
+ String sFile( sLNm.GetToken( 0, ::sfx2::cTokenSeparator, nPos ) );
+ String sRange( sLNm.GetToken( 0, ::sfx2::cTokenSeparator, nPos ) );
if( pFile )
*pFile = sFile;
@@ -262,8 +262,8 @@ bool LinkManager::GetDisplayNames( const SvBaseLink * pLink,
{
sal_Int32 nTmp = 0;
String sCmd( sLNm );
- String sServer( sCmd.GetToken( 0, cTokenSeperator, nTmp ) );
- String sTopic( sCmd.GetToken( 0, cTokenSeperator, nTmp ) );
+ String sServer( sCmd.GetToken( 0, cTokenSeparator, nTmp ) );
+ String sTopic( sCmd.GetToken( 0, cTokenSeparator, nTmp ) );
if( pType )
*pType = sServer;
@@ -395,7 +395,7 @@ void MakeLnkName( String& rName, const String* pType, const String& rFile,
if( pType )
{
rName = comphelper::string::strip(*pType, ' ');
- rName += cTokenSeperator;
+ rName += cTokenSeparator;
}
else if( rName.Len() )
rName.Erase();
@@ -403,12 +403,12 @@ void MakeLnkName( String& rName, const String* pType, const String& rFile,
rName += rFile;
rName = comphelper::string::strip(rName, ' ');
- rName += cTokenSeperator;
+ rName += cTokenSeparator;
rName = comphelper::string::strip(rName, ' ');
rName += rLink;
if( pFilter )
{
- rName += cTokenSeperator;
+ rName += cTokenSeparator;
rName += *pFilter;
rName = comphelper::string::strip(rName, ' ');
}
@@ -474,11 +474,11 @@ bool LinkManager::InsertFileLink( sfx2::SvBaseLink& rLink,
return false;
String sCmd( rFileNm );
- sCmd += ::sfx2::cTokenSeperator;
+ sCmd += ::sfx2::cTokenSeparator;
if( pRange )
sCmd += *pRange;
if( pFilterNm )
- ( sCmd += ::sfx2::cTokenSeperator ) += *pFilterNm;
+ ( sCmd += ::sfx2::cTokenSeparator ) += *pFilterNm;
return InsertLink( &rLink, nFileType, sfx2::LINKUPDATE_ONCALL, &sCmd );
}
@@ -492,14 +492,14 @@ bool LinkManager::InsertFileLink(
OUStringBuffer aBuf;
aBuf.append(rFileNm);
- aBuf.append(sfx2::cTokenSeperator);
+ aBuf.append(sfx2::cTokenSeparator);
if (pRange)
aBuf.append(*pRange);
if (pFilterNm)
{
- aBuf.append(sfx2::cTokenSeperator);
+ aBuf.append(sfx2::cTokenSeparator);
aBuf.append(*pFilterNm);
}
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index c3c2f39155e4..7fd8c789418d 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -603,7 +603,7 @@ static DdeTopic* FindTopic( const String & rLinkName, sal_uInt16* pItemStt )
String sNm( rLinkName );
sal_Int32 nTokenPos = 0;
- OUString sService( sNm.GetToken( 0, cTokenSeperator, nTokenPos ) );
+ OUString sService( sNm.GetToken( 0, cTokenSeparator, nTokenPos ) );
DdeServices& rSvc = DdeService::GetServices();
for (DdeServices::iterator aI = rSvc.begin(); aI != rSvc.end(); ++aI)
@@ -612,7 +612,7 @@ static DdeTopic* FindTopic( const String & rLinkName, sal_uInt16* pItemStt )
if( pService->GetName() == sService )
{
// then we search for the Topic
- OUString sTopic( sNm.GetToken( 0, cTokenSeperator, nTokenPos ) );
+ OUString sTopic( sNm.GetToken( 0, cTokenSeparator, nTokenPos ) );
if( pItemStt )
*pItemStt = nTokenPos;