summaryrefslogtreecommitdiff
path: root/sdext/source/minimizer
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:30:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:31 +0100
commit0ad5204d325b808aa3661c7ddac5224c8ffb6a2b (patch)
tree48c0931fe56d222f94e9a805b06d556a2dbafabc /sdext/source/minimizer
parentcb9e8bbdb9dd3f2f83ab862ffa6d734af7be79db (diff)
sdext: Use appropriate OUString functions on string constants
Change-Id: I6815b791b935bffe6409af2bcfdd6d6adceb2252
Diffstat (limited to 'sdext/source/minimizer')
-rw-r--r--sdext/source/minimizer/configurationaccess.cxx7
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx2
2 files changed, 4 insertions, 5 deletions
diff --git a/sdext/source/minimizer/configurationaccess.cxx b/sdext/source/minimizer/configurationaccess.cxx
index 3a11645d8439..d2761493beed 100644
--- a/sdext/source/minimizer/configurationaccess.cxx
+++ b/sdext/source/minimizer/configurationaccess.cxx
@@ -305,11 +305,10 @@ Reference< XInterface > ConfigurationAccess::OpenConfiguration( bool bReadOnly )
PropertyState_DIRECT_VALUE ) );
OUString sAccessService;
if ( bReadOnly )
- sAccessService = OUString(
- "com.sun.star.configuration.ConfigurationAccess" );
+ sAccessService = "com.sun.star.configuration.ConfigurationAccess";
else
- sAccessService = OUString(
- "com.sun.star.configuration.ConfigurationUpdateAccess" );
+ sAccessService =
+ "com.sun.star.configuration.ConfigurationUpdateAccess";
xRoot = xProvider->createInstanceWithArguments(
sAccessService, aCreationArguments );
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 6be8e712289e..49064f1812f1 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -164,7 +164,7 @@ Sequence< OUString > PPPOptimizerDialog_getSupportedServiceNames()
{
Sequence < OUString > aRet(1);
OUString* pArray = aRet.getArray();
- pArray[0] = OUString ( SERVICE_NAME );
+ pArray[0] = SERVICE_NAME;
return aRet;
}