Kaydet (Commit) a1c51f07 authored tarafından Noel Grandin's avatar Noel Grandin

convert editeng/source/editeng/eehtml.hxx from String to OUString

Change-Id: I66475e324d4ce1ea3e349122eb55f67609a3905b
üst bc16bbb2
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#define STYLE_PRE 101 #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 ), : HTMLParser( rIn, true ),
aBaseURL( rBaseURL ), aBaseURL( rBaseURL ),
mpEditEngine(NULL), mpEditEngine(NULL),
...@@ -667,7 +667,7 @@ void EditHTMLParser::ImpSetStyleSheet( sal_uInt16 nHLevel ) ...@@ -667,7 +667,7 @@ void EditHTMLParser::ImpSetStyleSheet( sal_uInt16 nHLevel )
mpEditEngine->SetParaAttribsOnly(nNode, aItems); mpEditEngine->SetParaAttribsOnly(nNode, aItems);
} }
void EditHTMLParser::ImpInsertText( const String& rText ) void EditHTMLParser::ImpInsertText( const OUString& rText )
{ {
String aText( rText ); String aText( rText );
if (mpEditEngine->IsImportHandlerSet()) if (mpEditEngine->IsImportHandlerSet())
......
...@@ -27,8 +27,8 @@ class EditEngine; ...@@ -27,8 +27,8 @@ class EditEngine;
struct AnchorInfo struct AnchorInfo
{ {
String aHRef; OUString aHRef;
String aText; OUString aText;
}; };
class EditHTMLParser : public HTMLParser class EditHTMLParser : public HTMLParser
...@@ -37,7 +37,7 @@ class EditHTMLParser : public HTMLParser ...@@ -37,7 +37,7 @@ class EditHTMLParser : public HTMLParser
private: private:
OUStringBuffer maStyleSource; OUStringBuffer maStyleSource;
EditSelection aCurSel; EditSelection aCurSel;
String aBaseURL; OUString aBaseURL;
EditEngine* mpEditEngine; EditEngine* mpEditEngine;
AnchorInfo* pCurAnchor; AnchorInfo* pCurAnchor;
...@@ -61,7 +61,7 @@ private: ...@@ -61,7 +61,7 @@ private:
bool HasTextInCurrentPara(); bool HasTextInCurrentPara();
void ImpInsertParaBreak(); void ImpInsertParaBreak();
void ImpInsertText( const String& rText ); void ImpInsertText( const OUString& rText );
void ImpSetAttribs( const SfxItemSet& rItems, EditSelection* pSel = 0 ); void ImpSetAttribs( const SfxItemSet& rItems, EditSelection* pSel = 0 );
void ImpSetStyleSheet( sal_uInt16 nHeadingLevel ); void ImpSetStyleSheet( sal_uInt16 nHeadingLevel );
...@@ -69,7 +69,7 @@ protected: ...@@ -69,7 +69,7 @@ protected:
virtual void NextToken( int nToken ); virtual void NextToken( int nToken );
public: public:
EditHTMLParser(SvStream& rIn, const String& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs); EditHTMLParser(SvStream& rIn, const OUString& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs);
~EditHTMLParser(); ~EditHTMLParser();
SvParserState CallParser(EditEngine* pEE, const EditPaM& rPaM); SvParserState CallParser(EditEngine* pEE, const EditPaM& rPaM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment