diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/app/applab.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/config/optload.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dialog/regionsw.cxx | 8 | ||||
-rw-r--r-- | sw/source/ui/dialog/uiregionsw.cxx | 52 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin2.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldmgr.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldvar.cxx | 12 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/colex.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/colmgr.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/cption.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/inc/hyp.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/uiview/view2.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/utlui/content.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/utlui/glbltree.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh2.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh4.cxx | 4 |
17 files changed, 64 insertions, 64 deletions
diff --git a/sw/source/ui/app/applab.cxx b/sw/source/ui/app/applab.cxx index 5972421d0321..ded62a81dc49 100644 --- a/sw/source/ui/app/applab.cxx +++ b/sw/source/ui/app/applab.cxx @@ -337,8 +337,8 @@ void SwModule::InsertLab(SfxRequest& rReq, sal_Bool bLabel) SwSectionData aSect(FILE_LINK_SECTION, pSh->GetUniqueSectionName()); OUStringBuffer sLinkName; - sLinkName.append(sfx2::cTokenSeperator); - sLinkName.append(sfx2::cTokenSeperator); + sLinkName.append(sfx2::cTokenSeparator); + sLinkName.append(sfx2::cTokenSeparator); sLinkName.append(MASTER_LABEL); aSect.SetLinkFileName(sLinkName.makeStringAndClear()); aSect.SetProtectFlag(true); diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index ebbd90dfd221..80aab9802306 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -209,7 +209,7 @@ sal_Bool SwLoadOptPage::FillItemSet( SfxItemSet& rSet ) { boost::shared_ptr< comphelper::ConfigurationChanges > batch( comphelper::ConfigurationChanges::create()); - officecfg::Office::Writer::WordCount::AdditionalSeperators::set(aWordCountED.GetText(), batch); + officecfg::Office::Writer::WordCount::AdditionalSeparators::set(aWordCountED.GetText(), batch); batch->commit(); bRet = sal_True; } @@ -310,7 +310,7 @@ void SwLoadOptPage::Reset( const SfxItemSet& rSet) } aUseCharUnit.SaveValue(); - aWordCountED.SetText(officecfg::Office::Writer::WordCount::AdditionalSeperators::get()); + aWordCountED.SetText(officecfg::Office::Writer::WordCount::AdditionalSeparators::get()); aWordCountED.SaveValue(); } diff --git a/sw/source/ui/dialog/regionsw.cxx b/sw/source/ui/dialog/regionsw.cxx index 790b5f512f36..678a8fadb508 100644 --- a/sw/source/ui/dialog/regionsw.cxx +++ b/sw/source/ui/dialog/regionsw.cxx @@ -158,13 +158,13 @@ void SwBaseShell::InsertRegionDialog(SfxRequest& rReq) if(aFile.Len() || aSub.Len()) { - String sLinkFileName = OUString(sfx2::cTokenSeperator); - sLinkFileName += sfx2::cTokenSeperator; - sLinkFileName.SetToken(0, sfx2::cTokenSeperator,aFile); + String sLinkFileName = OUString(sfx2::cTokenSeparator); + sLinkFileName += sfx2::cTokenSeparator; + sLinkFileName.SetToken(0, sfx2::cTokenSeparator,aFile); if(SFX_ITEM_SET == pSet->GetItemState(FN_PARAM_2, sal_True, &pItem)) - sLinkFileName.SetToken(1, sfx2::cTokenSeperator, + sLinkFileName.SetToken(1, sfx2::cTokenSeparator, ((const SfxStringItem *)pItem)->GetValue()); sLinkFileName += aSub; diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index f04ef1e35d71..eb0117df9c15 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -215,15 +215,15 @@ void SectRepr::SetFile( const String& rFile ) INetURLObject::DECODE_UNAMBIGUOUS, RTL_TEXTENCODING_UTF8 )); String sOldFileName( m_SectionData.GetLinkFileName() ); - String sSub( sOldFileName.GetToken( 2, sfx2::cTokenSeperator ) ); + String sSub( sOldFileName.GetToken( 2, sfx2::cTokenSeparator ) ); if( rFile.Len() || sSub.Len() ) { - sNewFile += sfx2::cTokenSeperator; + sNewFile += sfx2::cTokenSeparator; if( rFile.Len() ) // Filter only with FileName - sNewFile += sOldFileName.GetToken( 1, sfx2::cTokenSeperator ); + sNewFile += sOldFileName.GetToken( 1, sfx2::cTokenSeparator ); - sNewFile += sfx2::cTokenSeperator; + sNewFile += sfx2::cTokenSeparator; sNewFile += sSub; } @@ -244,14 +244,14 @@ void SectRepr::SetFilter( const String& rFilter ) { String sNewFile; String sOldFileName( m_SectionData.GetLinkFileName() ); - String sFile( sOldFileName.GetToken( 0, sfx2::cTokenSeperator ) ); - String sSub( sOldFileName.GetToken( 2, sfx2::cTokenSeperator ) ); + String sFile( sOldFileName.GetToken( 0, sfx2::cTokenSeparator ) ); + String sSub( sOldFileName.GetToken( 2, sfx2::cTokenSeparator ) ); if( sFile.Len() ) - (((( sNewFile = sFile ) += sfx2::cTokenSeperator ) += rFilter ) - += sfx2::cTokenSeperator ) += sSub; + (((( sNewFile = sFile ) += sfx2::cTokenSeparator ) += rFilter ) + += sfx2::cTokenSeparator ) += sSub; else if( sSub.Len() ) - (( sNewFile = sfx2::cTokenSeperator ) += sfx2::cTokenSeperator ) += sSub; + (( sNewFile = sfx2::cTokenSeparator ) += sfx2::cTokenSeparator ) += sSub; m_SectionData.SetLinkFileName( sNewFile ); @@ -265,12 +265,12 @@ void SectRepr::SetSubRegion(const String& rSubRegion) { String sNewFile; String sOldFileName( m_SectionData.GetLinkFileName() ); - String sFilter( sOldFileName.GetToken( 1, sfx2::cTokenSeperator ) ); - sOldFileName = sOldFileName.GetToken( 0, sfx2::cTokenSeperator ); + String sFilter( sOldFileName.GetToken( 1, sfx2::cTokenSeparator ) ); + sOldFileName = sOldFileName.GetToken( 0, sfx2::cTokenSeparator ); if( rSubRegion.Len() || sOldFileName.Len() ) - (((( sNewFile = sOldFileName ) += sfx2::cTokenSeperator ) += sFilter ) - += sfx2::cTokenSeperator ) += rSubRegion; + (((( sNewFile = sOldFileName ) += sfx2::cTokenSeparator ) += sFilter ) + += sfx2::cTokenSeparator ) += rSubRegion; m_SectionData.SetLinkFileName( sNewFile ); @@ -292,12 +292,12 @@ String SectRepr::GetFile() const { if (DDE_LINK_SECTION == m_SectionData.GetType()) { - sal_uInt16 n = sLinkFile.SearchAndReplace( sfx2::cTokenSeperator, ' ' ); - sLinkFile.SearchAndReplace( sfx2::cTokenSeperator, ' ', n ); + sal_uInt16 n = sLinkFile.SearchAndReplace( sfx2::cTokenSeparator, ' ' ); + sLinkFile.SearchAndReplace( sfx2::cTokenSeparator, ' ', n ); } else sLinkFile = INetURLObject::decode( sLinkFile.GetToken( 0, - sfx2::cTokenSeperator ), + sfx2::cTokenSeparator ), INET_HEX_ESCAPE, INetURLObject::DECODE_UNAMBIGUOUS, RTL_TEXTENCODING_UTF8 ); @@ -310,7 +310,7 @@ String SectRepr::GetSubRegion() const { String sLinkFile( m_SectionData.GetLinkFileName() ); if( sLinkFile.Len() ) - sLinkFile = sLinkFile.GetToken( 2, sfx2::cTokenSeperator ); + sLinkFile = sLinkFile.GetToken( 2, sfx2::cTokenSeparator ); return sLinkFile; } @@ -1173,8 +1173,8 @@ IMPL_LINK( SwEditRegionDlg, FileNameHdl, Edit *, pEdit ) while( STRING_NOTFOUND != (nPos = sLink.SearchAscii( " ", nPos )) ) sLink.Erase( nPos--, 1 ); - nPos = sLink.SearchAndReplace( ' ', sfx2::cTokenSeperator ); - sLink.SearchAndReplace( ' ', sfx2::cTokenSeperator, nPos ); + nPos = sLink.SearchAndReplace( ' ', sfx2::cTokenSeparator ); + sLink.SearchAndReplace( ' ', sfx2::cTokenSeparator, nPos ); pSectRepr->GetSectionData().SetLinkFileName( sLink ); pSectRepr->GetSectionData().SetType( DDE_LINK_SECTION ); @@ -1526,9 +1526,9 @@ short SwInsertSectionTabDialog::Ok() m_pSectionData->IsEditInReadonlyFlag())); String sLinkFileName( m_pSectionData->GetLinkFileName() ); - aRequest.AppendItem(SfxStringItem( FN_PARAM_1, sLinkFileName.GetToken( 0, sfx2::cTokenSeperator ))); - aRequest.AppendItem(SfxStringItem( FN_PARAM_2, sLinkFileName.GetToken( 1, sfx2::cTokenSeperator ))); - aRequest.AppendItem(SfxStringItem( FN_PARAM_3, sLinkFileName.GetToken( 2, sfx2::cTokenSeperator ))); + aRequest.AppendItem(SfxStringItem( FN_PARAM_1, sLinkFileName.GetToken( 0, sfx2::cTokenSeparator ))); + aRequest.AppendItem(SfxStringItem( FN_PARAM_2, sLinkFileName.GetToken( 1, sfx2::cTokenSeparator ))); + aRequest.AppendItem(SfxStringItem( FN_PARAM_3, sLinkFileName.GetToken( 2, sfx2::cTokenSeparator ))); aRequest.Done(); } return nRet; @@ -1652,8 +1652,8 @@ sal_Bool SwInsertSectionTabPage::FillItemSet( SfxItemSet& ) while( STRING_NOTFOUND != (nPos = aLinkFile.SearchAscii( " ", nPos )) ) aLinkFile.Erase( nPos--, 1 ); - nPos = aLinkFile.SearchAndReplace( ' ', sfx2::cTokenSeperator ); - aLinkFile.SearchAndReplace( ' ', sfx2::cTokenSeperator, nPos ); + nPos = aLinkFile.SearchAndReplace( ' ', sfx2::cTokenSeparator ); + aLinkFile.SearchAndReplace( ' ', sfx2::cTokenSeparator, nPos ); } else { @@ -1668,9 +1668,9 @@ sal_Bool SwInsertSectionTabPage::FillItemSet( SfxItemSet& ) aSection.SetLinkFilePassword( m_sFilePasswd ); } - aLinkFile += sfx2::cTokenSeperator; + aLinkFile += sfx2::cTokenSeparator; aLinkFile += m_sFilterName; - aLinkFile += sfx2::cTokenSeperator; + aLinkFile += sfx2::cTokenSeparator; aLinkFile += sSubRegion; } diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 0cebc02b1702..39526b997a93 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -2290,7 +2290,7 @@ KEYINPUT_CHECKTABLE_INSDEL: (m_aInBuffer.Len() || !rSh.IsSttPara() || !rSh.IsEndPara() )) { // insert a blank ahead of the character. this ends up - // between the expanded text and the new "non-word-seperator". + // between the expanded text and the new "non-word-separator". m_aInBuffer += ' '; } diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx index db7a10e04f9a..2b028864b4d2 100644 --- a/sw/source/ui/docvw/edtwin2.cxx +++ b/sw/source/ui/docvw/edtwin2.cxx @@ -163,7 +163,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) INetURLObject::WAS_ENCODED, INetURLObject::DECODE_UNAMBIGUOUS); //#i63832# remove the link target type - xub_StrLen nFound = sTxt.Search(cMarkSeperator); + xub_StrLen nFound = sTxt.Search(cMarkSeparator); if( nFound != STRING_NOTFOUND && (++nFound) < sTxt.Len() ) { String sSuffix( sTxt.Copy(nFound) ); diff --git a/sw/source/ui/fldui/fldmgr.cxx b/sw/source/ui/fldui/fldmgr.cxx index 2934718a2158..439c36d98368 100644 --- a/sw/source/ui/fldui/fldmgr.cxx +++ b/sw/source/ui/fldui/fldmgr.cxx @@ -869,7 +869,7 @@ sal_Bool SwFldMgr::InsertFld( const SwInsertFld_Data& rData, SwPaM *pPam ) return sal_False; switch(rData.nTypeId) - { // ATTENTION this field is inserted by a seperate dialog + { // ATTENTION this field is inserted by a separate dialog case TYP_POSTITFLD: { SwPostItFieldType* pType = (SwPostItFieldType*)pCurShell->GetFldType(0, RES_POSTITFLD); @@ -1027,8 +1027,8 @@ sal_Bool SwFldMgr::InsertFld( const SwInsertFld_Data& rData, SwPaM *pPam ) //JP 28.08.95: DDE-Topics/-Items can have blanks in their names! // That's not yet considered here. String sCmd( rData.sPar2 ); - sal_uInt16 nTmpPos = sCmd.SearchAndReplace( ' ', sfx2::cTokenSeperator ); - sCmd.SearchAndReplace( ' ', sfx2::cTokenSeperator, nTmpPos ); + sal_uInt16 nTmpPos = sCmd.SearchAndReplace( ' ', sfx2::cTokenSeparator ); + sCmd.SearchAndReplace( ' ', sfx2::cTokenSeparator, nTmpPos ); SwDDEFieldType aType( rData.sPar1, sCmd, (sal_uInt16) nFormatId ); SwDDEFieldType* pTyp = (SwDDEFieldType*) pCurShell->InsertFldType( aType ); @@ -1457,8 +1457,8 @@ void SwFldMgr::UpdateCurFld(sal_uLong nFormat, { // DDE-Topics/-Items can have blanks in their names! // That's not yet considered here! - sal_uInt16 nTmpPos = sPar2.SearchAndReplace( ' ', sfx2::cTokenSeperator ); - sPar2.SearchAndReplace( ' ', sfx2::cTokenSeperator, nTmpPos ); + sal_uInt16 nTmpPos = sPar2.SearchAndReplace( ' ', sfx2::cTokenSeparator ); + sPar2.SearchAndReplace( ' ', sfx2::cTokenSeparator, nTmpPos ); break; } diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 7ef720a8fdea..70f80d2175e6 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -439,8 +439,8 @@ IMPL_LINK( SwFldVarPage, SubTypeHdl, ListBox *, pBox ) //JP 28.08.95: DDE-Topics/-Items can have blanks in their names! // That's not considered here yet String sCmd( pType->GetCmd() ); - sal_uInt16 nTmpPos = sCmd.SearchAndReplace( sfx2::cTokenSeperator, ' ' ); - sCmd.SearchAndReplace( sfx2::cTokenSeperator, ' ', nTmpPos ); + sal_uInt16 nTmpPos = sCmd.SearchAndReplace( sfx2::cTokenSeparator, ' ' ); + sCmd.SearchAndReplace( sfx2::cTokenSeparator, ' ', nTmpPos ); aValueED.SetText( sCmd ); aFormatLB.SelectEntryPos(pType->GetType()); @@ -1025,8 +1025,8 @@ IMPL_LINK( SwFldVarPage, TBClickHdl, ToolBox *, pBox ) { // DDE-Topics/-Items can have blanks in their names! // That's not being considered here yet. - sal_uInt16 nTmpPos = sValue.SearchAndReplace( ' ', sfx2::cTokenSeperator ); - sValue.SearchAndReplace( ' ', sfx2::cTokenSeperator, nTmpPos ); + sal_uInt16 nTmpPos = sValue.SearchAndReplace( ' ', sfx2::cTokenSeparator ); + sValue.SearchAndReplace( ' ', sfx2::cTokenSeparator, nTmpPos ); ((SwDDEFieldType*)pType)->SetCmd(sValue); ((SwDDEFieldType*)pType)->SetType((sal_uInt16)nFormat); } @@ -1063,8 +1063,8 @@ IMPL_LINK( SwFldVarPage, TBClickHdl, ToolBox *, pBox ) { // DDE-Topics/-Items can have blanks in their names! // That's not being considered here yet. - sal_uInt16 nTmpPos = sValue.SearchAndReplace( ' ', sfx2::cTokenSeperator ); - sValue.SearchAndReplace( ' ', sfx2::cTokenSeperator, nTmpPos ); + sal_uInt16 nTmpPos = sValue.SearchAndReplace( ' ', sfx2::cTokenSeparator ); + sValue.SearchAndReplace( ' ', sfx2::cTokenSeparator, nTmpPos ); SwDDEFieldType aType(sName, sValue, (sal_uInt16)nFormat); aSelectionLB.InsertEntry(sName); diff --git a/sw/source/ui/frmdlg/colex.cxx b/sw/source/ui/frmdlg/colex.cxx index 4e009c3fa300..097067adcc08 100644 --- a/sw/source/ui/frmdlg/colex.cxx +++ b/sw/source/ui/frmdlg/colex.cxx @@ -355,7 +355,7 @@ void SwColumnOnlyExample::Paint( const Rectangle& /*rRect*/ ) SetFillColor( aGrayColor ); - //column seperator? + //column separator? long nLength = aLogSize.Height() - 2 * aTL.Y(); Point aUp( aTL ); Point aDown( aTL.X(), nLength ); diff --git a/sw/source/ui/frmdlg/colmgr.cxx b/sw/source/ui/frmdlg/colmgr.cxx index ec6d11e07857..9710f0e8ddd2 100644 --- a/sw/source/ui/frmdlg/colmgr.cxx +++ b/sw/source/ui/frmdlg/colmgr.cxx @@ -80,7 +80,7 @@ void SwColMgr::SetGutterWidth(sal_uInt16 nGutterWidth, sal_uInt16 nPos ) } /*------------------------------------------------------------------------ - Description: height seperation line + Description: height separation line ------------------------------------------------------------------------*/ short SwColMgr::GetLineHeightPercent() const { diff --git a/sw/source/ui/frmdlg/cption.cxx b/sw/source/ui/frmdlg/cption.cxx index c7b2f0b75d9b..b7bb316fa2d8 100644 --- a/sw/source/ui/frmdlg/cption.cxx +++ b/sw/source/ui/frmdlg/cption.cxx @@ -99,7 +99,7 @@ SwCaptionDialog::SwCaptionDialog( Window *pParent, SwView &rV ) : get(m_pFormatText, "numbering_label"); get(m_pFormatBox, "numbering"); get(m_pNumberingSeparatorFT, "num_separator"); - get(m_pNumberingSeparatorED, "num_seperator_edit"); + get(m_pNumberingSeparatorED, "num_separator_edit"); get(m_pSepText, "separator_label"); get(m_pSepEdit, "separator_edit"); get(m_pPosText, "position_label"); diff --git a/sw/source/ui/inc/hyp.hxx b/sw/source/ui/inc/hyp.hxx index 9795648b1202..95ccf5cda737 100644 --- a/sw/source/ui/inc/hyp.hxx +++ b/sw/source/ui/inc/hyp.hxx @@ -34,8 +34,8 @@ private: Link aOldLnk; sal_uInt16 nPageCount; // page count for progress view sal_uInt16 nPageStart; // 1st checked page - sal_Bool bInSelection : 1; // seperating selected text - sal_Bool bAutomatic : 1; // insert seperators without further inquiry + sal_Bool bInSelection : 1; // separating selected text + sal_Bool bAutomatic : 1; // insert separators without further inquiry sal_Bool bInfoBox : 1; // display info-box when ending protected: diff --git a/sw/source/ui/uiview/view2.cxx b/sw/source/ui/uiview/view2.cxx index 26876d6a0bb9..58aa46a96bf4 100644 --- a/sw/source/ui/uiview/view2.cxx +++ b/sw/source/ui/uiview/view2.cxx @@ -1869,10 +1869,10 @@ bool SwView::JumpToSwMark( const String& rMark ) INetURLObject::DECODE_WITH_CHARSET, RTL_TEXTENCODING_UTF8 )); - xub_StrLen nLastPos, nPos = sMark.Search( cMarkSeperator ); + xub_StrLen nLastPos, nPos = sMark.Search( cMarkSeparator ); if( STRING_NOTFOUND != nPos ) while( STRING_NOTFOUND != ( nLastPos = - sMark.Search( cMarkSeperator, nPos + 1 )) ) + sMark.Search( cMarkSeparator, nPos + 1 )) ) nPos = nLastPos; IDocumentMarkAccess::const_iterator_t ppMark; diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx index 0d995dd55694..8b9a05358330 100644 --- a/sw/source/ui/utlui/content.cxx +++ b/sw/source/ui/utlui/content.cxx @@ -1639,7 +1639,7 @@ bool SwContentTree::FillTransferData( TransferDataContainer& rTransfer, sUrl += sEntry; if(rToken.Len()) { - sUrl += cMarkSeperator; + sUrl += cMarkSeparator; sUrl += rToken; } } diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx index 26dd383a071e..5bc1f08cc714 100644 --- a/sw/source/ui/utlui/glbltree.cxx +++ b/sw/source/ui/utlui/glbltree.cxx @@ -467,7 +467,7 @@ void SwGlobalTree::RequestHelp( const HelpEvent& rHEvt ) if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType()) { const SwSection* pSect = pCont->GetSection(); - String sEntry = pSect->GetLinkFileName().GetToken(0, sfx2::cTokenSeperator); + String sEntry = pSect->GetLinkFileName().GetToken(0, sfx2::cTokenSeparator); if(!pSect->IsConnectFlag()) sEntry.Insert(aContextStrings[ST_BROKEN_LINK - ST_GLOBAL_CONTEXT_FIRST], 0 ); Point aEntryPos = GetEntryPosition( pEntry ); @@ -1157,7 +1157,7 @@ sal_Bool SwGlobalTree::Update(sal_Bool bHard) void SwGlobalTree::OpenDoc(const SwGlblDocContent* pCont) { String sFileName(pCont->GetSection()->GetLinkFileName().GetToken(0, - sfx2::cTokenSeperator)); + sfx2::cTokenSeparator)); bool bFound = false; const SfxObjectShell* pCurr = SfxObjectShell::GetFirst(); while( !bFound && pCurr ) @@ -1299,7 +1299,7 @@ void SwGlobalTree::InsertRegion( const SwGlblDocContent* _pContent, const Sequen aFileUrl.SetSmartURL( sFileName ); String sSectionName(String(aFileUrl.GetLastName( INetURLObject::DECODE_UNAMBIGUOUS)).GetToken(0, - sfx2::cTokenSeperator)); + sfx2::cTokenSeparator)); sal_uInt16 nSectCount = rSh.GetSectionFmtCount(); String sTempSectionName(sSectionName); sal_uInt16 nAddNumber = 0; @@ -1361,9 +1361,9 @@ IMPL_LINK( SwGlobalTree, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg ) { SfxMedium* pMed = pMedList->at( i ); String sFileName = pMed->GetURLObject().GetMainURL( INetURLObject::NO_DECODE ); - sFileName += sfx2::cTokenSeperator; + sFileName += sfx2::cTokenSeparator; sFileName += pMed->GetFilter()->GetFilterName(); - sFileName += sfx2::cTokenSeperator; + sFileName += sfx2::cTokenSeparator; pFileNames[nPos++] = sFileName; } delete pMedList; diff --git a/sw/source/ui/wrtsh/wrtsh2.cxx b/sw/source/ui/wrtsh/wrtsh2.cxx index 00c9d2dee7f0..f0d2855d9ed5 100644 --- a/sw/source/ui/wrtsh/wrtsh2.cxx +++ b/sw/source/ui/wrtsh/wrtsh2.cxx @@ -436,8 +436,8 @@ void SwWrtShell::NavigatorPaste( const NaviContentBookmark& rBkmk, { SwSectionData aSection( FILE_LINK_SECTION, GetUniqueSectionName( 0 ) ); String aLinkFile( rBkmk.GetURL().GetToken(0, '#') ); - aLinkFile += sfx2::cTokenSeperator; - aLinkFile += sfx2::cTokenSeperator; + aLinkFile += sfx2::cTokenSeparator; + aLinkFile += sfx2::cTokenSeparator; aLinkFile += rBkmk.GetURL().GetToken(1, '#'); aSection.SetLinkFileName( aLinkFile ); aSection.SetProtectFlag( true ); diff --git a/sw/source/ui/wrtsh/wrtsh4.cxx b/sw/source/ui/wrtsh/wrtsh4.cxx index 26026e1ead10..6966e45c4fda 100644 --- a/sw/source/ui/wrtsh/wrtsh4.cxx +++ b/sw/source/ui/wrtsh/wrtsh4.cxx @@ -44,8 +44,8 @@ bool SwWrtShell::_SttWrd() return true; } -// The end of a word is the follow of seperator to nonseperator. -// The end of a word is also the sequence of wordseperators to +// The end of a word is the follow of separator to nonseparator. +// The end of a word is also the sequence of wordseparators to // punctuation marks. // The end of a paragraph is also the end of a word. |