diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-29 21:41:07 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-29 21:41:07 -0500 |
commit | 93d83fe15a198b523ed0e9e7524941e8d7181eb2 (patch) | |
tree | 9eede61befb6c970e495a13a0f07e59ebfea501e /lotuswordpro | |
parent | 1a5637b8a958bc9aa22d3d5ebacc10e1a3a2bd4c (diff) |
targeted string re-work
Change-Id: Ie527fc87d2ef18e60524ef235c1332fdd02be829
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpfilter.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx index 92867fcad684..906008925d24 100644 --- a/lotuswordpro/source/filter/lwpfilter.cxx +++ b/lotuswordpro/source/filter/lwpfilter.cxx @@ -141,7 +141,7 @@ LWPFilterImportFilter::LWPFilterImportFilter( const uno::Reference< XMultiServic { try { - uno::Reference< XDocumentHandler > xDoc( xFact->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM( STR_WRITER_IMPORTER_NAME )) ), UNO_QUERY ); + uno::Reference< XDocumentHandler > xDoc( xFact->createInstance( OUString( STR_WRITER_IMPORTER_NAME ) ), UNO_QUERY ); LWPFilterReader *p = new LWPFilterReader; p->setDocumentHandler( xDoc ); @@ -182,7 +182,7 @@ void LWPFilterImportFilter::setTargetDocument( const uno::Reference< XComponent OUString LWPFilterImportFilter::getImplementationName() throw() { - return OUString(RTL_CONSTASCII_USTRINGPARAM( STR_IMPLEMENTATION_NAME )); + return OUString( STR_IMPLEMENTATION_NAME ); } sal_Bool LWPFilterImportFilter::supportsService( const OUString& ServiceName ) throw() @@ -201,7 +201,7 @@ sal_Bool LWPFilterImportFilter::supportsService( const OUString& ServiceName ) t Sequence< OUString> LWPFilterImportFilter::getSupportedServiceNames( void ) throw() { Sequence< OUString > seq(1); - seq.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( STR_SERVICE_NAME )); + seq.getArray()[0] = OUString( STR_SERVICE_NAME ); return seq; } @@ -247,14 +247,14 @@ Sequence< OUString> LWPFilterImportFilter::getSupportedServiceNames( void ) thro if(!bOpenAsTemplate) { aDescriptor.realloc( nPropertyCount + 1 ); - aDescriptor[nPropertyCount].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AsTemplate")); + aDescriptor[nPropertyCount].Name = ::rtl::OUString("AsTemplate"); aDescriptor[nPropertyCount].Value <<= sal_True; } - return OUString(RTL_CONSTASCII_USTRINGPARAM("wordpro_template")); + return OUString("wordpro_template"); } else { - return OUString(RTL_CONSTASCII_USTRINGPARAM("wordpro")); + return OUString("wordpro"); } } return ret; @@ -270,7 +270,7 @@ Sequence< OUString> LWPFilterImportFilter::getSupportedServiceNames( void ) thro if(rc != osl::FileBase::E_None) { SAXException except; - except.Message = OUString( RTL_CONSTASCII_USTRINGPARAM( "GDocting system path from URL failed!")); + except.Message = OUString( "GDocting system path from URL failed!"); throw except; } */ @@ -282,14 +282,14 @@ Sequence< OUString> LWPFilterImportFilter::getSupportedServiceNames( void ) thro if(!bOpenAsTemplate) { aDescriptor.realloc( nPropertyCount + 1 ); - aDescriptor[nPropertyCount].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AsTemplate")); + aDescriptor[nPropertyCount].Name = ::rtl::OUString("AsTemplate"); aDescriptor[nPropertyCount].Value <<= sal_True; } - return OUString(RTL_CONSTASCII_USTRINGPARAM("wordpro_template")); + return OUString("wordpro_template"); } else { - return OUString(RTL_CONSTASCII_USTRINGPARAM("wordpro")); + return OUString("wordpro"); } } return ret; |