summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework/encryptorimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/framework/encryptorimpl.cxx')
-rw-r--r--xmlsecurity/source/framework/encryptorimpl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlsecurity/source/framework/encryptorimpl.cxx b/xmlsecurity/source/framework/encryptorimpl.cxx
index 52652c95d3ca..03823e5facbc 100644
--- a/xmlsecurity/source/framework/encryptorimpl.cxx
+++ b/xmlsecurity/source/framework/encryptorimpl.cxx
@@ -221,9 +221,7 @@ OUString EncryptorImpl_getImplementationName ()
Sequence< OUString > SAL_CALL EncryptorImpl_getSupportedServiceNames( )
throw (RuntimeException)
{
- Sequence < OUString > aRet(1);
- OUString* pArray = aRet.getArray();
- pArray[0] = "com.sun.star.xml.crypto.sax.Encryptor";
+ Sequence<OUString> aRet { "com.sun.star.xml.crypto.sax.Encryptor" };
return aRet;
}