diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-10 18:21:37 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-10 18:21:37 +0100 |
commit | 7462f28b5fba5779fe1862a910078f02fe0e898f (patch) | |
tree | 21a95d571df7242229563a120145fb3ea10fbe3c /lotuswordpro | |
parent | 5d41e651aaa15bb6cb9e9eec449f0828d42b23b3 (diff) |
RTL_CONSTASCII_USTRINGPARAM in filters 25
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/schxmlwrapper.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lotuswordpro/source/filter/schxmlwrapper.cxx b/lotuswordpro/source/filter/schxmlwrapper.cxx index 17ad276e9dc9..869ca0816bf3 100644 --- a/lotuswordpro/source/filter/schxmlwrapper.cxx +++ b/lotuswordpro/source/filter/schxmlwrapper.cxx @@ -305,28 +305,28 @@ sal_Int32 SchXMLWrapper::Import() // import meta information ImportStream( - ::rtl::OUString::createFromAscii( sXML_metaStreamName ), - ::rtl::OUString::createFromAscii( sXML_import_chart_meta_service ), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_metaStreamName )), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_import_chart_meta_service )), xXMLParser, xServiceFactory, xGraphObjResolver ); // import styles ImportStream( - ::rtl::OUString::createFromAscii( sXML_styleStreamName ), - ::rtl::OUString::createFromAscii( sXML_import_chart_styles_service ), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_styleStreamName )), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_import_chart_styles_service )), xXMLParser, xServiceFactory, xGraphObjResolver ); // import content nWarning = ImportStream( - ::rtl::OUString::createFromAscii( sXML_contentStreamName ), - ::rtl::OUString::createFromAscii( sXML_import_chart_content_service ), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_contentStreamName )), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_import_chart_content_service )), xXMLParser, xServiceFactory, xGraphObjResolver ); // import of "content.xml" didn't work - try old "Content.xml" stream if( nWarning != 0 ) { nWarning = ImportStream( - ::rtl::OUString::createFromAscii( sXML_oldContentStreamName ), - ::rtl::OUString::createFromAscii( sXML_import_chart_old_content_service ), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_oldContentStreamName )), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_import_chart_old_content_service )), xXMLParser, xServiceFactory, xGraphObjResolver ); } @@ -474,8 +474,8 @@ sal_Bool SchXMLWrapper::Export() //export to one stream bRet = ExportStream( - ::rtl::OUString::createFromAscii( sXML_contentStreamName ), - ::rtl::OUString::createFromAscii( sXML_export_chart_allinone_service ), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_contentStreamName )), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( sXML_export_chart_allinone_service )), xDataSource, xServiceFactory, aArgs ); // graphics resolver has to be destroyed this way! |