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

convert sw/source/core/inc/SwXMLBlockExport.hxx from String to OUString

Change-Id: I157e560482af5d917fbd6878dd679993f1da4fca
üst 5b83b465
......@@ -22,7 +22,6 @@
#include <xmloff/xmlexp.hxx>
class String;
class SwXMLTextBlocks;
class SwXMLBlockListExport : public SvXMLExport
......@@ -58,7 +57,7 @@ public:
virtual ~SwXMLTextBlockExport ( void ) {}
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum /*eClass*/) {return 0;}
sal_uInt32 exportDoc(const String & rText);
sal_uInt32 exportDoc(const OUString & rText);
void _ExportAutoStyles() {}
void _ExportMasterStyles () {}
void _ExportContent() {}
......
......@@ -97,7 +97,7 @@ SwXMLTextBlockExport::SwXMLTextBlockExport(
XML_NAMESPACE_TEXT );
}
sal_uInt32 SwXMLTextBlockExport::exportDoc(const String &rText)
sal_uInt32 SwXMLTextBlockExport::exportDoc(const OUString &rText)
{
GetDocHandler()->startDocument();
......@@ -123,7 +123,7 @@ sal_uInt32 SwXMLTextBlockExport::exportDoc(const String &rText)
sal_Int32 nPos = 0;
do
{
String sTemp ( rText.GetToken( 0, '\015', nPos ) );
OUString sTemp ( rText.getToken( 0, '\015', nPos ) );
SvXMLElementExport aPara (*this, XML_NAMESPACE_TEXT, XML_P, sal_True, sal_False);
GetDocHandler()->characters(sTemp);
} while (-1 != nPos );
......
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