diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/fileobj.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/appl/linkmgr2.cxx | 22 | ||||
-rw-r--r-- | sfx2/source/appl/lnkbase2.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 2 |
7 files changed, 23 insertions, 23 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; diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 8c83031c8acf..8d9a70c744b3 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -891,10 +891,10 @@ const SfxFilter* SfxFilterMatcherIter::Next() /*--------------------------------------------------------------- helper to build own formated string from given stringlist by - using given seperator + using given separator ---------------------------------------------------------------*/ OUString implc_convertStringlistToString( const uno::Sequence< OUString >& lList , - const sal_Unicode& cSeperator, + const sal_Unicode& cSeparator, const OUString& sPrefix ) { OUStringBuffer sString ( 1000 ) ; @@ -909,7 +909,7 @@ OUString implc_convertStringlistToString( const uno::Sequence< OUString >& lList sString.append( lList[nItem] ); if( nItem+1<nCount ) { - sString.append( cSeperator ); + sString.append( cSeparator ); } } return sString.makeStringAndClear(); diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 4987d07dd9cf..5cae6dfa6740 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -1165,7 +1165,7 @@ namespace sfx2 ::std::list< FilterGroup >::iterator pIter = aAllFilters.begin(); ++pIter; ::std::for_each( - pIter, // first filter group was handled seperately, see above + pIter, // first filter group was handled separately, see above aAllFilters.end(), AppendFilterGroup( _rxFilterManager, &_rFileDlgImpl ) ); } diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 4459a2e796de..173bc5be8d83 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -2019,7 +2019,7 @@ void SfxCommonTemplateDialog_Impl::DeleteHdl(void *) if ( pStyle->IsUsed() ) // pStyle is in use in the document? { - if (bUsedStyle) // add a seperator for the second and later styles + if (bUsedStyle) // add a separator for the second and later styles aMsg += ", "; aMsg += aTemplName; bUsedStyle = 1; diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 85ddf0d3c366..e55276bb44c3 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -675,7 +675,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // real file on disk automaticly if it die - bt we have to share it with // some other sources ... e.g. the ImplUCBPrintWatcher). // And we put the name of this temp file to the descriptor instead - // of the URL. The URL we save for later using seperatly. + // of the URL. The URL we save for later using separately. // Execution of the print job will be done later by executing // a slot ... pUCBPrintTempFile = new ::utl::TempFile(); |