summaryrefslogtreecommitdiff
path: root/include/svl/cryptosign.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/cryptosign.hxx')
-rw-r--r--include/svl/cryptosign.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svl/cryptosign.hxx b/include/svl/cryptosign.hxx
index 5c971cc99f07..3bb682916edc 100644
--- a/include/svl/cryptosign.hxx
+++ b/include/svl/cryptosign.hxx
@@ -9,6 +9,7 @@
#include <sal/types.h>
+#include <utility>
#include <vector>
#include <rtl/strbuf.hxx>
@@ -48,8 +49,8 @@ class SVL_DLLPUBLIC Signing
{
public:
- Signing(const css::uno::Reference<css::security::XCertificate>& xCertificate) :
- m_xCertificate(xCertificate)
+ Signing(css::uno::Reference<css::security::XCertificate> xCertificate) :
+ m_xCertificate(std::move(xCertificate))
{
}