From 0a2c5d8be598b169a7e98366e0c5ac02c31e2ccb Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Sun, 28 Nov 2010 20:19:16 +0100 Subject: RTL_CONSTASCII_USTRINGPARAM in filters 13 --- lotuswordpro/source/filter/lwp9reader.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lotuswordpro/source/filter/lwp9reader.cxx') diff --git a/lotuswordpro/source/filter/lwp9reader.cxx b/lotuswordpro/source/filter/lwp9reader.cxx index 63d28551dabd..16019b34de39 100644 --- a/lotuswordpro/source/filter/lwp9reader.cxx +++ b/lotuswordpro/source/filter/lwp9reader.cxx @@ -206,7 +206,7 @@ void Lwp9Reader::ParseDocument() pChangeMgr->ConvertAllChange(m_pStream); doc->Parse(m_pStream); - m_pStream->EndElement(::rtl::OUString::createFromAscii("office:body")); + m_pStream->EndElement(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("office:body"))); WriteDocEnd(); } @@ -242,7 +242,7 @@ void Lwp9Reader::WriteDocHeader() pAttrList->AddAttribute( A2OUSTR("office:class"), A2OUSTR("text")); pAttrList->AddAttribute( A2OUSTR("office:version"), A2OUSTR("1.0")); - m_pStream->StartElement( ::rtl::OUString::createFromAscii("office:document") ); + m_pStream->StartElement( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("office:document")) ); pAttrList->Clear(); } @@ -251,7 +251,7 @@ void Lwp9Reader::WriteDocHeader() */ void Lwp9Reader::WriteDocEnd() { - m_pStream->EndElement(::rtl::OUString::createFromAscii("office:document")); + m_pStream->EndElement(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("office:document"))); m_pStream->EndDocument(); } -- cgit