diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-10-08 14:26:21 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-10-08 14:26:21 +0200 |
commit | 6e2f5bce80ff9008a8fcda7ad434033d46da17a3 (patch) | |
tree | 12314a7bbc0b8393fb7ff77aa589aa82e9d75fc2 /include/sfx2/frmhtmlw.hxx | |
parent | 677b93b3993e9a14416275e8bd2a64b12ad91c55 (diff) |
wrap GraphicObject in a rtl::Referencefeature/go2
Change-Id: I07842c2920202f39cae054cba866f0d02d767e61
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 ); } |