summaryrefslogtreecommitdiff
path: root/framework/source/jobs/shelljob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/jobs/shelljob.cxx')
-rw-r--r--framework/source/jobs/shelljob.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index 8b8036cf6ea2..0c895db33f71 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/util/PathSubstitution.hpp>
#include <com/sun/star/util/XStringSubstitution.hpp>
#include <cppuhelper/supportsservice.hxx>
+#include <utility>
namespace framework{
@@ -55,8 +56,8 @@ css::uno::Sequence< OUString > SAL_CALL ShellJob::getSupportedServiceNames()
}
-ShellJob::ShellJob(const css::uno::Reference< css::uno::XComponentContext >& xContext)
- : m_xContext (xContext)
+ShellJob::ShellJob(css::uno::Reference< css::uno::XComponentContext > xContext)
+ : m_xContext (std::move(xContext))
{
}