diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-31 13:04:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-07 11:28:38 +0200 |
commit | 0121f632ef72bbdb0167ec8520a9bdf0a275274e (patch) | |
tree | 85374419714f9d076829eb3c8e6895255a6c43bc /xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx | |
parent | cc79b16a75efcb62cd2fe2f1ee26f6650ab082ee (diff) |
remove unnecessary use of OUString constructor in XMLSECURITY module
Change-Id: I95b0eda83c60456f3db267183030fe5f6cd70bc4
Diffstat (limited to 'xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx')
-rw-r--r-- | xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx index 540f6d5590fe..5686ae7d278c 100644 --- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx +++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx @@ -103,8 +103,8 @@ Sequence< OUString > SAL_CALL XMLEncryptionTemplateImpl :: getSupportedServiceNa Sequence< OUString > XMLEncryptionTemplateImpl :: impl_getSupportedServiceNames() { ::osl::Guard< ::osl::Mutex > aGuard( ::osl::Mutex::getGlobalMutex() ) ; Sequence< OUString > seqServiceNames( 1 ) ; - seqServiceNames.getArray()[0] = OUString("com.sun.star.xml.crypto.XMLEncryptionTemplate") ; - return seqServiceNames ; + seqServiceNames[0] = "com.sun.star.xml.crypto.XMLEncryptionTemplate"; + return seqServiceNames; } OUString XMLEncryptionTemplateImpl :: impl_getImplementationName() throw( RuntimeException ) { |