summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwp9reader.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-28 20:19:16 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-28 20:19:16 +0100
commit0a2c5d8be598b169a7e98366e0c5ac02c31e2ccb (patch)
treec9259d06b12a13b8bf7aa21d0e62f11f7b1e9ed6 /lotuswordpro/source/filter/lwp9reader.cxx
parent3f8861ce64ba6b43b7871c0a365a145bfa1bbf08 (diff)
RTL_CONSTASCII_USTRINGPARAM in filters 13
Diffstat (limited to 'lotuswordpro/source/filter/lwp9reader.cxx')
-rw-r--r--lotuswordpro/source/filter/lwp9reader.cxx6
1 files changed, 3 insertions, 3 deletions
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();
}