summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx')
-rw-r--r--xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
index b5cd81f523df..fc90a1dc450b 100644
--- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
@@ -102,8 +102,7 @@ Sequence< OUString > SAL_CALL XMLEncryptionTemplateImpl::getSupportedServiceName
//Helper for XServiceInfo
Sequence< OUString > XMLEncryptionTemplateImpl::impl_getSupportedServiceNames() {
::osl::Guard< ::osl::Mutex > aGuard( ::osl::Mutex::getGlobalMutex() ) ;
- Sequence< OUString > seqServiceNames( 1 ) ;
- seqServiceNames[0] = "com.sun.star.xml.crypto.XMLEncryptionTemplate";
+ Sequence<OUString> seqServiceNames { "com.sun.star.xml.crypto.XMLEncryptionTemplate" };
return seqServiceNames;
}