diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-30 23:06:38 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-30 23:06:38 +0100 |
commit | d32c2ac7ada6febfd935908bf312009b44254f3e (patch) | |
tree | 1fc3fb16dc2fd6340d3adaee508dcf1ec23067b0 /lotuswordpro/source/filter/lwpfilter.cxx | |
parent | RTL_CONSTASCII_USTRINGPARAM in filters 16 (diff) | |
download | core-d32c2ac7ada6febfd935908bf312009b44254f3e.tar.gz core-d32c2ac7ada6febfd935908bf312009b44254f3e.zip |
RTL_CONSTASCII_USTRINGPARAM in filters 17
Diffstat (limited to 'lotuswordpro/source/filter/lwpfilter.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfilter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx index adabc69871c0..74783f3ea7d4 100644 --- a/lotuswordpro/source/filter/lwpfilter.cxx +++ b/lotuswordpro/source/filter/lwpfilter.cxx @@ -165,7 +165,7 @@ LWPFilterImportFilter::LWPFilterImportFilter( const uno::Reference< XMultiServic try { - uno::Reference< XDocumentHandler > xDoc( xFact->createInstance( OUString::createFromAscii( STR_WRITER_IMPORTER_NAME ) ), UNO_QUERY ); + uno::Reference< XDocumentHandler > xDoc( xFact->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM( STR_WRITER_IMPORTER_NAME )) ), UNO_QUERY ); LWPFilterReader *p = new LWPFilterReader; p->setDocumentHandler( xDoc ); @@ -206,12 +206,12 @@ void LWPFilterImportFilter::setTargetDocument( const uno::Reference< XComponent OUString LWPFilterImportFilter::getImplementationName_Static() throw() { - return OUString::createFromAscii( STR_IMPLEMENTATION_NAME ); + return OUString(RTL_CONSTASCII_USTRINGPARAM( STR_IMPLEMENTATION_NAME )); } OUString LWPFilterImportFilter::getImplementationName() throw() { - return OUString::createFromAscii( STR_IMPLEMENTATION_NAME ); + return OUString(RTL_CONSTASCII_USTRINGPARAM( STR_IMPLEMENTATION_NAME )); } sal_Bool LWPFilterImportFilter::supportsService( const OUString& ServiceName ) throw() @@ -230,7 +230,7 @@ sal_Bool LWPFilterImportFilter::supportsService( const OUString& ServiceName ) t Sequence< OUString> LWPFilterImportFilter::getSupportedServiceNames( void ) throw() { Sequence< OUString > seq(1); - seq.getArray()[0] = OUString::createFromAscii( STR_SERVICE_NAME ); + seq.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( STR_SERVICE_NAME )); return seq; } |