oox/qa/unit/CryptoTest.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7d2b9e17c01b602a983e42d1e52e6f730f08c7d5
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Dec 11 11:10:05 2020 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Dec 11 13:26:40 2020 +0100

    Drop some unnecessary OUStringToOString conversions
    
    Change-Id: I7535065d37a5d56ace0fec90c4f146ff4ce2d753
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107586
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to