diff options
Diffstat (limited to 'sw/source/core/docnode/section.cxx')
-rw-r--r-- | sw/source/core/docnode/section.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 ) ); } |