From ca02d728082a86780d68ede7b9d565128dbc0434 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Nov 2011 21:03:31 +0000 Subject: remove [Byte]String::EraseAllChars --- svtools/source/svhtml/parhtml.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'svtools/source/svhtml') diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index 17f092d891af..eb976e541b74 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -31,6 +31,7 @@ #include #include +#include #include #include #include @@ -2121,8 +2122,8 @@ bool HTMLParser::ParseMetaOptionsImpl( if ( bHTTPEquiv || HTML_META_DESCRIPTION != nAction ) { // if it is not a Description, remove CRs and LFs from CONTENT - aContent.EraseAllChars( _CR ); - aContent.EraseAllChars( _LF ); + aContent = comphelper::string::remove(aContent, _CR); + aContent = comphelper::string::remove(aContent, _LF); } else { -- cgit