xmlsecurity/qa/unit/signing/signing.cxx |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 46fcb0bbfec58a132f549f4e465888db6b447d8d
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jun 5 16:18:21 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Jun 5 19:47:08 2020 +0200

    Upcoming loplugin:elidestringvar: xmlsecurity
    
    Change-Id: Ifaf5027ca12254ced57a3bbd59e660886133fd50
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95607
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/xmlsecurity/qa/unit/signing/signing.cxx 
b/xmlsecurity/qa/unit/signing/signing.cxx
index ed6e55e829d4..637e5057bd05 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -262,9 +262,8 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testECDSA)
         = getCertificate(aManager, 
svl::crypto::SignatureMethodAlgorithm::ECDSA);
     if (!xCertificate.is())
         return;
-    OUString aDescription;
     sal_Int32 nSecurityId;
-    aManager.add(xCertificate, mxSecurityContext, aDescription, nSecurityId, 
false);
+    aManager.add(xCertificate, mxSecurityContext, "", nSecurityId, false);
 
     // Read back the signature and make sure that it's valid.
     aManager.read(/*bUseTempStream=*/true);
@@ -302,9 +301,8 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testECDSAOOXML)
         = getCertificate(aManager, 
svl::crypto::SignatureMethodAlgorithm::ECDSA);
     if (!xCertificate.is())
         return;
-    OUString aDescription;
     sal_Int32 nSecurityId;
-    aManager.add(xCertificate, mxSecurityContext, aDescription, nSecurityId,
+    aManager.add(xCertificate, mxSecurityContext, "", nSecurityId,
                  /*bAdESCompliant=*/false);
 
     // Read back the signature and make sure that it's valid.
@@ -343,9 +341,8 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testECDSAPDF)
         = getCertificate(aManager, 
svl::crypto::SignatureMethodAlgorithm::ECDSA);
     if (!xCertificate.is())
         return;
-    OUString aDescription;
     sal_Int32 nSecurityId;
-    aManager.add(xCertificate, mxSecurityContext, aDescription, nSecurityId,
+    aManager.add(xCertificate, mxSecurityContext, "", nSecurityId,
                  /*bAdESCompliant=*/true);
 
     // Read back the signature and make sure that it's valid.
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to