diff options
Diffstat (limited to 'include/sfx2/frmhtmlw.hxx')
-rw-r--r-- | include/sfx2/frmhtmlw.hxx | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/include/sfx2/frmhtmlw.hxx b/include/sfx2/frmhtmlw.hxx index 3abdfbee3107..6f660970ff2a 100644 --- a/include/sfx2/frmhtmlw.hxx +++ b/include/sfx2/frmhtmlw.hxx @@ -43,37 +43,36 @@ class SFX2_DLLPUBLIC SfxFrameHTMLWriter { SAL_DLLPRIVATE static const sal_Char sNewLine[]; SAL_DLLPRIVATE static void OutMeta( SvStream& rStrm, - const sal_Char *pIndent, const String& rName, - const String& rContent, sal_Bool bHTTPEquiv, - rtl_TextEncoding eDestEnc, - String *pNonConvertableChars = 0 ); + const sal_Char *pIndent, const OUString& rName, + const OUString& rContent, sal_Bool bHTTPEquiv, + rtl_TextEncoding eDestEnc, + OUString* pNonConvertableChars = 0 ); SAL_DLLPRIVATE inline static void OutMeta( SvStream& rStrm, - const sal_Char *pIndent, const sal_Char *pName, - const String& rContent, sal_Bool bHTTPEquiv, - rtl_TextEncoding eDestEnc, - String *pNonConvertableChars = 0 ); + const sal_Char *pIndent, const sal_Char *pName, + const OUString& rContent, sal_Bool bHTTPEquiv, + rtl_TextEncoding eDestEnc, + OUString* pNonConvertableChars = 0 ); public: - static void Out_DocInfo( SvStream& rStrm, const String& rBaseURL, - const ::com::sun::star::uno::Reference< - ::com::sun::star::document::XDocumentProperties>&, - const sal_Char *pIndent, - rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252, - String *pNonConvertableChars = 0 ); + static void Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL, + const ::css::uno::Reference< ::css::document::XDocumentProperties>&, + const sal_Char *pIndent, + rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252, + OUString* pNonConvertableChars = 0 ); - static void Out_FrameDescriptor( - SvStream&, const String& rBaseURL, const com::sun::star::uno::Reference < com::sun::star::beans::XPropertySet >& xSet, - rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252, - String *pNonConvertableChars = 0 ); + static void Out_FrameDescriptor( SvStream&, const OUString& rBaseURL, + const css::uno::Reference < com::sun::star::beans::XPropertySet >& xSet, + rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252, + OUString* pNonConvertableChars = 0 ); }; inline void SfxFrameHTMLWriter::OutMeta( SvStream& rStrm, - const sal_Char *pIndent, const sal_Char *pName, - const String& rContent, sal_Bool bHTTPEquiv, - rtl_TextEncoding eDestEnc, - String *pNonConvertableChars ) + const sal_Char *pIndent, const sal_Char *pName, + const OUString& rContent, sal_Bool bHTTPEquiv, + rtl_TextEncoding eDestEnc, + OUString* pNonConvertableChars ) { - String sTmp = OUString::createFromAscii(pName); + OUString sTmp = OUString::createFromAscii(pName); OutMeta( rStrm, pIndent, sTmp, rContent, bHTTPEquiv, eDestEnc, pNonConvertableChars ); } |