diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-28 10:41:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-28 12:42:54 +0200 |
commit | 2bf18879d77b6f4e7e8b54267157741f11fb8c5b (patch) | |
tree | e82a7b0377130eebe30fbcd1a8f075e7cd2c8efd /test | |
parent | 47099350beb5d955d16776e43aa2276d4760eecb (diff) |
clang-tidy modernize-pass-by-value in test
Change-Id: I375ff43a60d0058be36dd07e409027ad1dcd1bcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136558
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/unoapi_test.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx index 50d0ff562fc9..e27d17507c76 100644 --- a/test/source/unoapi_test.cxx +++ b/test/source/unoapi_test.cxx @@ -12,12 +12,13 @@ #include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/frame/Desktop.hpp> #include <comphelper/processfactory.hxx> +#include <utility> using namespace css; using namespace css::uno; -UnoApiTest::UnoApiTest(const OUString& path) - : m_aBaseString(path) +UnoApiTest::UnoApiTest(OUString path) + : m_aBaseString(std::move(path)) { } |