diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-11 11:10:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-11 13:26:40 +0100 |
commit | 7d2b9e17c01b602a983e42d1e52e6f730f08c7d5 (patch) | |
tree | 25ee2d9153d32dae69799daf1f46f4362072ac94 /oox | |
parent | eae57fb4035d7471ca2477dd1e81eb158843747e (diff) |
Drop some unnecessary OUStringToOString conversions
Change-Id: I7535065d37a5d56ace0fec90c4f146ff4ce2d753
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107586
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/qa/unit/CryptoTest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/qa/unit/CryptoTest.cxx b/oox/qa/unit/CryptoTest.cxx index 15f9ae158dc4..94f1f765fc2b 100644 --- a/oox/qa/unit/CryptoTest.cxx +++ b/oox/qa/unit/CryptoTest.cxx @@ -123,7 +123,7 @@ void CryptoTest::testStandard2007() SvMemoryStream aUnencryptedInput; SvMemoryStream aEncryptedStream; - OString aTestString = OUStringToOString("1234567890ABCDEFG", RTL_TEXTENCODING_UTF8); + OString aTestString = "1234567890ABCDEFG"; aUnencryptedInput.WriteBytes(aTestString.getStr(), aTestString.getLength() + 1); aUnencryptedInput.Seek(STREAM_SEEK_TO_BEGIN); @@ -343,7 +343,7 @@ void CryptoTest::testAgileEncryptingAndDecrypting() SvMemoryStream aEncryptionInfo; SvMemoryStream aEncryptedStream; - OString aTestString = OUStringToOString("1234567890ABCDEFGH", RTL_TEXTENCODING_UTF8); + OString aTestString = "1234567890ABCDEFGH"; { oox::crypto::AgileEngine aEngine; |