diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /lotuswordpro/source/filter/lwpfilter.cxx | |
parent | remove unnecessary use of OUString constructor in BASIC module (diff) | |
download | core-e52779d2f8722c713f72aedbf475267440d729f0.tar.gz core-e52779d2f8722c713f72aedbf475267440d729f0.zip |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
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 a627faaa78b3..8e55ebbbf52a 100644 --- a/lotuswordpro/source/filter/lwpfilter.cxx +++ b/lotuswordpro/source/filter/lwpfilter.cxx @@ -194,7 +194,7 @@ sal_Bool LWPFilterImportFilter::supportsService( const OUString& ServiceName ) t Sequence< OUString> LWPFilterImportFilter::getSupportedServiceNames( void ) throw() { Sequence< OUString > seq(1); - seq.getArray()[0] = OUString( STR_SERVICE_NAME ); + seq[0] = STR_SERVICE_NAME; return seq; } @@ -240,7 +240,7 @@ OUString SAL_CALL LWPFilterImportFilter::detect( ::com::sun::star::uno::Sequence if(!bOpenAsTemplate) { aDescriptor.realloc( nPropertyCount + 1 ); - aDescriptor[nPropertyCount].Name = OUString("AsTemplate"); + aDescriptor[nPropertyCount].Name = "AsTemplate"; aDescriptor[nPropertyCount].Value <<= sal_True; } return OUString("wordpro_template"); @@ -262,7 +262,7 @@ OUString SAL_CALL LWPFilterImportFilter::detect( ::com::sun::star::uno::Sequence if(rc != osl::FileBase::E_None) { SAXException except; - except.Message = OUString( "GDocting system path from URL failed!"); + except.Message = "GDocting system path from URL failed!"; throw except; } */ @@ -274,7 +274,7 @@ OUString SAL_CALL LWPFilterImportFilter::detect( ::com::sun::star::uno::Sequence if(!bOpenAsTemplate) { aDescriptor.realloc( nPropertyCount + 1 ); - aDescriptor[nPropertyCount].Name = OUString("AsTemplate"); + aDescriptor[nPropertyCount].Name = "AsTemplate"; aDescriptor[nPropertyCount].Value <<= sal_True; } return OUString("wordpro_template"); |