summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-01 09:29:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-01 10:18:35 +0200
commit8c64b2e06b7495e50c0a8d46d639316283da6a9c (patch)
tree531a8078c97f076f7d0170016f539e8e28d2dc4c /desktop
parentaaa6a5202a447fb4e86d5f016d8e79fbc34a3ed7 (diff)
loplugin:constparams in lotuswordpro
Change-Id: I2ad14fa797c99d26975dc472c1db115d94160eee Reviewed-on: https://gerrit.libreoffice.org/40615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
-rw-r--r--desktop/source/lib/init.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index bd6094795ecf..2c60973015e9 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -81,7 +81,7 @@ namespace desktop
struct DispatchHolder
{
- DispatchHolder( const URL& rURL, Reference< XDispatch >& rDispatch ) :
+ DispatchHolder( const URL& rURL, Reference< XDispatch > const & rDispatch ) :
aURL( rURL ), xDispatch( rDispatch ) {}
URL aURL;
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index be81a0fca0b0..5d742780a913 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2070,7 +2070,7 @@ class DispatchResultListener : public cppu::WeakImplHelper<css::frame::XDispatch
std::shared_ptr<CallbackFlushHandler> mpCallback; ///< Callback to call.
public:
- DispatchResultListener(const char* pCommand, std::shared_ptr<CallbackFlushHandler>& pCallback)
+ DispatchResultListener(const char* pCommand, std::shared_ptr<CallbackFlushHandler> const & pCallback)
: maCommand(pCommand)
, mpCallback(pCallback)
{