summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-02 16:07:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-03 08:13:09 +0200
commitb33227d80be9bae4d247db35391698c71d996bc4 (patch)
treea0715c8ae90bb85668201b1cc0c594d116c575de /desktop/inc
parent87c963199c438b88cb21f52d25a08e4d0f1535ff (diff)
clang-tidy modernize-pass-by-value in desktop
Change-Id: Ie9c1cd41c5944b901f4ec6c1e4ffd8608c063ffa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135317 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/lib/init.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index 6132a7a302cc..d9e9faf1eb64 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -239,7 +239,7 @@ namespace desktop {
std::map<size_t, std::shared_ptr<CallbackFlushHandler>> mpCallbackFlushHandlers;
const int mnDocumentId;
- explicit LibLODocument_Impl(const css::uno::Reference<css::lang::XComponent>& xComponent,
+ explicit LibLODocument_Impl(css::uno::Reference<css::lang::XComponent> xComponent,
int nDocumentId);
~LibLODocument_Impl();
};