summaryrefslogtreecommitdiff
path: root/oox/source/crypto/DocumentDecryption.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-10 08:26:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-10 09:51:34 +0200
commit239ceb315521d9e88fb8290ba391c70a53095af4 (patch)
tree89d2c12874823ae5eea38385e5f89d5cc902b707 /oox/source/crypto/DocumentDecryption.cxx
parent58a9c936bb065384d50e122ee2ac9037dd60cc32 (diff)
loplugin:ostr in oox
Change-Id: I08124ce2da1facbe2e84aa4a7a8e25fec24fa962 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167428 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/crypto/DocumentDecryption.cxx')
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index 858558433cba..b6963f22c75e 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -99,7 +99,7 @@ bool DocumentDecryption::readEncryptionInfo()
// Read 0x6DataSpaces/DataSpaceMap
uno::Reference<io::XInputStream> xDataSpaceMap
- = mrOleStorage.openInputStream("\006DataSpaces/DataSpaceMap");
+ = mrOleStorage.openInputStream(u"\006DataSpaces/DataSpaceMap"_ustr);
OUString sDataSpaceName;
if (xDataSpaceMap.is())
@@ -202,7 +202,7 @@ bool DocumentDecryption::decrypt(const uno::Reference<io::XStream>& xDocumentStr
// open the required input streams in the encrypted package
uno::Reference<io::XInputStream> xEncryptedPackage
- = mrOleStorage.openInputStream("EncryptedPackage");
+ = mrOleStorage.openInputStream(u"EncryptedPackage"_ustr);
// create temporary file for unencrypted package
uno::Reference<io::XOutputStream> xDecryptedPackage = xDocumentStream->getOutputStream();