summaryrefslogtreecommitdiff
path: root/stoc/source/security
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:30:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:30:34 +0100
commitbc909149fdb3256b80367cd6e55378406ec8d979 (patch)
treebd3da50c305e734d5fd374bdc3640c8e83778334 /stoc/source/security
parent9b03a827b2955edf5dc726d498276c4f94639c8d (diff)
stoc: Use appropriate OUString functions on string constants
Change-Id: If8c20c8a0958016c14007406244fc8ab9a742933
Diffstat (limited to 'stoc/source/security')
-rw-r--r--stoc/source/security/access_controller.cxx2
-rw-r--r--stoc/source/security/file_policy.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 71b54df142ef..4fc3de1955a8 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -945,7 +945,7 @@ Sequence< OUString > AccessController::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aSNS( 1 );
- aSNS[0] = OUString(SERVICE_NAME);
+ aSNS[0] = SERVICE_NAME;
return aSNS;
}
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx
index 90ddd78ec1eb..b26806f544eb 100644
--- a/stoc/source/security/file_policy.cxx
+++ b/stoc/source/security/file_policy.cxx
@@ -510,7 +510,7 @@ Sequence< OUString > FilePolicy::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aSNS( 1 );
- aSNS[0] = OUString("com.sun.star.security.Policy");
+ aSNS[0] = "com.sun.star.security.Policy";
return aSNS;
}