summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmlfly.cxx6
-rw-r--r--sw/source/filter/html/htmlgrin.cxx2
-rw-r--r--sw/source/filter/html/htmlsect.cxx4
-rw-r--r--sw/source/filter/html/swhtml.cxx2
-rw-r--r--sw/source/filter/html/wrthtml.cxx10
5 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx
index 47426ef81804..b7fdd6f7d9e4 100644
--- a/sw/source/filter/html/htmlfly.cxx
+++ b/sw/source/filter/html/htmlfly.cxx
@@ -1770,7 +1770,7 @@ void SwHTMLWriter::AddLinkTarget( const String& rURL )
sal_Unicode c = rURL.GetChar( --nPos );
switch( c )
{
- case cMarkSeperator:
+ case cMarkSeparator:
bFound = sal_True;
break;
case '%':
@@ -1804,7 +1804,7 @@ void SwHTMLWriter::AddLinkTarget( const String& rURL )
if( bEncoded )
{
aURL.Erase( nPos, 2 );
- aURL.SetChar( nPos-1, cMarkSeperator );
+ aURL.SetChar( nPos-1, cMarkSeparator );
}
aImplicitMarks.insert( aURL );
}
@@ -1827,7 +1827,7 @@ void SwHTMLWriter::AddLinkTarget( const String& rURL )
if( bEncoded )
{
aURL.Erase( nPos, 2 );
- aURL.SetChar( nPos-1, cMarkSeperator );
+ aURL.SetChar( nPos-1, cMarkSeparator );
}
aOutlineMarks.insert( aOutlineMarks.begin()+nIns, new String( aURL ) );
}
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 97caf18c790f..de89a5926d0c 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -1118,7 +1118,7 @@ ANCHOR_SETEVENT:
String sDecoded( INetURLObject::decode( aName, INET_HEX_ESCAPE,
INetURLObject::DECODE_UNAMBIGUOUS,
RTL_TEXTENCODING_UTF8 ));
- xub_StrLen nPos = sDecoded.SearchBackward( cMarkSeperator );
+ xub_StrLen nPos = sDecoded.SearchBackward( cMarkSeparator );
if( STRING_NOTFOUND != nPos )
{
String sCmp(comphelper::string::remove(sDecoded.Copy(nPos+1), ' '));
diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx
index 82a4b800ec4f..b9e76dac8df5 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -287,7 +287,7 @@ void SwHTMLParser::NewDivision( int nToken )
else
{
aURL = URIHelper::SmartRel2Abs(INetURLObject( sBaseURL ), aHRef.Copy( 0, nPos ), Link(), false );
- aURL += sfx2::cTokenSeperator;
+ aURL += sfx2::cTokenSeparator;
if( STRING_NOTFOUND == nPos2 )
{
aURL += aHRef.Copy( nPos+1 );
@@ -295,7 +295,7 @@ void SwHTMLParser::NewDivision( int nToken )
else
{
aURL += aHRef.Copy( nPos+1, nPos2 - (nPos+1) );
- aURL += sfx2::cTokenSeperator;
+ aURL += sfx2::cTokenSeparator;
aURL += String(rtl::Uri::decode( aHRef.Copy( nPos2+1 ),
rtl_UriDecodeWithCharset,
RTL_TEXTENCODING_ISO_8859_1 ));
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 3f0f679aa3ee..a4c84813929e 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -370,7 +370,7 @@ SwHTMLParser::SwHTMLParser( SwDoc* pD, const SwPaM& rCrsr, SvStream& rIn,
eJumpTo = JUMPTO_MARK;
xub_StrLen nLastPos, nPos = 0;
while( STRING_NOTFOUND != ( nLastPos =
- sJmpMark.Search( cMarkSeperator, nPos + 1 )) )
+ sJmpMark.Search( cMarkSeparator, nPos + 1 )) )
nPos = nLastPos;
String sCmp;
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 8042027d5086..58b747897507 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -548,9 +548,9 @@ static void lcl_html_OutSectionStartTag( SwHTMLWriter& rHTMLWrt,
rHTMLWrt.Strm() << sOut.makeStringAndClear().getStr();
const String& aFName = rSection.GetLinkFileName();
- String aURL( aFName.GetToken(0,sfx2::cTokenSeperator) );
- String aFilter( aFName.GetToken(1,sfx2::cTokenSeperator) );
- String aSection( aFName.GetToken(2,sfx2::cTokenSeperator) );
+ String aURL( aFName.GetToken(0,sfx2::cTokenSeparator) );
+ String aFilter( aFName.GetToken(1,sfx2::cTokenSeparator) );
+ String aSection( aFName.GetToken(2,sfx2::cTokenSeparator) );
String aEncURL( URIHelper::simpleNormalizedMakeRelative(rHTMLWrt.GetBaseURL(), aURL ) );
sal_Unicode cDelim = 255U;
@@ -1076,7 +1076,7 @@ void SwHTMLWriter::OutImplicitMark( const String& rMark,
if( rMark.Len() && !aImplicitMarks.empty() )
{
String sMark( rMark );
- sMark.Append( cMarkSeperator );
+ sMark.Append( cMarkSeparator );
sMark.AppendAscii( pMarkType );
if( 0 != aImplicitMarks.erase( sMark ) )
{
@@ -1089,7 +1089,7 @@ void SwHTMLWriter::OutImplicitMark( const String& rMark,
void SwHTMLWriter::OutHyperlinkHRefValue( const String& rURL )
{
String sURL( rURL );
- xub_StrLen nPos = sURL.SearchBackward( cMarkSeperator );
+ xub_StrLen nPos = sURL.SearchBackward( cMarkSeparator );
if( STRING_NOTFOUND != nPos )
{
String sCmp(comphelper::string::remove(sURL.Copy(nPos+1), ' '));