diff options
author | Santiago Alessandri <salessandri@nasel.com.ar> | 2010-11-13 21:19:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-13 21:19:14 +0000 |
commit | 19934b8578f210d2a90aaceb994ec861549b9a4d (patch) | |
tree | 92cddd49b0e25bcdfc8322237b6e14bd546adb9e /reportdesign | |
parent | RTL_CONSTASCII_USTRINGPARAM cleaning in base (diff) | |
download | core-19934b8578f210d2a90aaceb994ec861549b9a4d.tar.gz core-19934b8578f210d2a90aaceb994ec861549b9a4d.zip |
Replaced createFromAscii in all dbaccess tree under base repo
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 1e1f2ba71305..f4f3135d6f5d 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -151,7 +151,7 @@ sal_Int32 ReadThroughComponent( // get parser uno::Reference< XParser > xParser( rFactory->createInstance( - ::rtl::OUString::createFromAscii("com.sun.star.xml.sax.Parser") ), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser"))), UNO_QUERY ); DBG_ASSERT( xParser.is(), "Can't create parser" ); if( !xParser.is() ) @@ -1109,8 +1109,8 @@ SvXMLImportContext* ORptFilter::CreateMetaContext(const ::rtl::OUString& rLocalN if ( (getImportFlags() & IMPORT_META) ) { uno::Reference<xml::sax::XDocumentHandler> xDocBuilder( - getServiceFactory()->createInstance(::rtl::OUString::createFromAscii( - "com.sun.star.xml.dom.SAXDocumentBuilder")), + getServiceFactory()->createInstance(::rtl::OUString( + RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.dom.SAXDocumentBuilder"))), uno::UNO_QUERY_THROW); uno::Reference<document::XDocumentPropertiesSupplier> xDPS(GetModel(), uno::UNO_QUERY_THROW); pContext = new SvXMLMetaDocumentContext(*this,XML_NAMESPACE_OFFICE, rLocalName,xDPS->getDocumentProperties(), xDocBuilder); |