summaryrefslogtreecommitdiff
path: root/oox/source/crypto/DocumentDecryption.cxx
diff options
context:
space:
mode:
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();