remove unnecessary use of OUString constructor in SCRIPTING module

Change-Id: I87dd775949d1d3cc2c191e84e57b49cd66ecc750
This commit is contained in:
Noel Grandin
2013-11-04 10:31:49 +02:00
parent a5156a4163
commit 2ac50736e4
6 changed files with 20 additions and 21 deletions

View File

@@ -81,7 +81,7 @@ namespace stringresource
static Sequence< OUString > getSupportedServiceNames_StringResourceImpl()
{
Sequence< OUString > names(1);
names[0] = OUString( "com.sun.star.resource.StringResource" );
names[0] = "com.sun.star.resource.StringResource";
return names;
}
@@ -1052,7 +1052,7 @@ void StringResourcePersistenceImpl::implStoreAtStorage
{
xProps->setPropertyValue( aPropName, uno::makeAny( aMime ) );
aPropName = OUString("UseCommonStoragePasswordEncryption");
aPropName = "UseCommonStoragePasswordEncryption";
xProps->setPropertyValue( aPropName, uno::makeAny( sal_True ) );
}
@@ -2271,7 +2271,7 @@ bool StringResourcePersistenceImpl::implWritePropertiesFile( LocaleItem* pLocale
static Sequence< OUString > getSupportedServiceNames_StringResourceWithStorageImpl()
{
Sequence< OUString > names(1);
names[0] = OUString( "com.sun.star.resource.StringResourceWithStorage" );
names[0] = "com.sun.star.resource.StringResourceWithStorage";
return names;
}
@@ -2598,7 +2598,7 @@ bool StringResourceWithStorageImpl::implLoadLocale( LocaleItem* pLocaleItem )
static Sequence< OUString > getSupportedServiceNames_StringResourceWithLocationImpl()
{
Sequence< OUString > names(1);
names[0] = OUString( "com.sun.star.resource.StringResourceWithLocation" );
names[0] = "com.sun.star.resource.StringResourceWithLocation";
return names;
}