diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-10 09:30:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-11 09:45:36 +0200 |
commit | a1c51f07c4bc96729975d5959bed1e17dcb03db0 (patch) | |
tree | 07a9c24aa6e6a94f4069bd3e17b58ee12935245d /editeng | |
parent | bc16bbb2e25af63f3a70ab0ba53be406c40a60c1 (diff) |
convert editeng/source/editeng/eehtml.hxx from String to OUString
Change-Id: I66475e324d4ce1ea3e349122eb55f67609a3905b
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eehtml.cxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/eehtml.hxx | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx index 6fe2a68ee4d2..6b6f35d0cf9a 100644 --- a/editeng/source/editeng/eehtml.cxx +++ b/editeng/source/editeng/eehtml.cxx @@ -38,7 +38,7 @@ #define STYLE_PRE 101 -EditHTMLParser::EditHTMLParser( SvStream& rIn, const String& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs ) +EditHTMLParser::EditHTMLParser( SvStream& rIn, const OUString& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs ) : HTMLParser( rIn, true ), aBaseURL( rBaseURL ), mpEditEngine(NULL), @@ -667,7 +667,7 @@ void EditHTMLParser::ImpSetStyleSheet( sal_uInt16 nHLevel ) mpEditEngine->SetParaAttribsOnly(nNode, aItems); } -void EditHTMLParser::ImpInsertText( const String& rText ) +void EditHTMLParser::ImpInsertText( const OUString& rText ) { String aText( rText ); if (mpEditEngine->IsImportHandlerSet()) diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx index 6ae468663d0e..9d54f2e2d4c5 100644 --- a/editeng/source/editeng/eehtml.hxx +++ b/editeng/source/editeng/eehtml.hxx @@ -27,8 +27,8 @@ class EditEngine; struct AnchorInfo { - String aHRef; - String aText; + OUString aHRef; + OUString aText; }; class EditHTMLParser : public HTMLParser @@ -37,7 +37,7 @@ class EditHTMLParser : public HTMLParser private: OUStringBuffer maStyleSource; EditSelection aCurSel; - String aBaseURL; + OUString aBaseURL; EditEngine* mpEditEngine; AnchorInfo* pCurAnchor; @@ -61,7 +61,7 @@ private: bool HasTextInCurrentPara(); void ImpInsertParaBreak(); - void ImpInsertText( const String& rText ); + void ImpInsertText( const OUString& rText ); void ImpSetAttribs( const SfxItemSet& rItems, EditSelection* pSel = 0 ); void ImpSetStyleSheet( sal_uInt16 nHeadingLevel ); @@ -69,7 +69,7 @@ protected: virtual void NextToken( int nToken ); public: - EditHTMLParser(SvStream& rIn, const String& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs); + EditHTMLParser(SvStream& rIn, const OUString& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs); ~EditHTMLParser(); SvParserState CallParser(EditEngine* pEE, const EditPaM& rPaM); |