diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-26 18:58:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-26 21:04:24 +0200 |
commit | d115205bc05209a32d8d47bae853424bef4191b1 (patch) | |
tree | 395a9284ddf4c55fe90e649e38ecebabe15cc33d | |
parent | f2b3256297241da458a471d591e582c14d6ab73c (diff) |
cid#1489450 Big parameter passed by value
Change-Id: I727922562f2655ef9dcc8f9deb866e7f39765f9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119528
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | include/xmloff/xmlictxt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx index 885be2ead5ab..0b25efe97e5f 100644 --- a/include/xmloff/xmlictxt.hxx +++ b/include/xmloff/xmlictxt.hxx @@ -52,7 +52,7 @@ class XMLOFF_DLLPUBLIC SvXMLImportContext : public css::xml::sax::XFastContextHa std::optional<SvXMLNamespaceMap> m_xRewindMap; SAL_DLLPRIVATE std::optional<SvXMLNamespaceMap> TakeRewindMap() { return std::move(m_xRewindMap); } - SAL_DLLPRIVATE void PutRewindMap(std::optional<SvXMLNamespaceMap> p) { m_xRewindMap = std::move(p); } + SAL_DLLPRIVATE void PutRewindMap(std::optional<SvXMLNamespaceMap>&& p) { m_xRewindMap = std::move(p); } protected: |