[Libreoffice-commits] core.git: xmlsecurity/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 27 15:47:18 UTC 2021


 xmlsecurity/source/helper/ooxmlsecparser.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9a9f8f8f85cd079911f39cde6dcae6d73a609cdc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 27 13:53:44 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 27 17:46:45 2021 +0200

    cid#1489430 Big parameter passed by value
    
    Change-Id: Ib40bda812872c9421948bc9a1e131ab3f95a0ff0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119557
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/xmlsecurity/source/helper/ooxmlsecparser.cxx b/xmlsecurity/source/helper/ooxmlsecparser.cxx
index f2dab05b9627..a4e46951bf51 100644
--- a/xmlsecurity/source/helper/ooxmlsecparser.cxx
+++ b/xmlsecurity/source/helper/ooxmlsecparser.cxx
@@ -332,8 +332,8 @@ class OOXMLSecParser::DsDigestValueContext
         OUString & m_rValue;
 
     public:
-        DsDigestValueContext(OOXMLSecParser & rParser,
-                std::optional<SvXMLNamespaceMap> pOldNamespaceMap,
+        DsDigestValueContext(OOXMLSecParser& rParser,
+                std::optional<SvXMLNamespaceMap>&& pOldNamespaceMap,
                 OUString & rValue)
             : OOXMLSecParser::Context(rParser, std::move(pOldNamespaceMap))
             , m_rValue(rValue)


More information about the Libreoffice-commits mailing list