summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:56:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitcb53d9c4a2b0e57871567c3c819bb349d12542a6 (patch)
treeb7091b5b8f3f11faad8de46197603d24f9e9d7c8 /desktop
parent303dd4af5e32c4dc7af76064449317cc2b2affe0 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ibeb53a944551b9a654979fefaae85ba3f82c52fb
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx4
-rw-r--r--desktop/source/migration/migration_impl.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
index dcc017710cc5..a7872c7cbcde 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
@@ -81,7 +81,7 @@ namespace dp_gui {
class UpdateInstallDialog::Thread: public salhelper::Thread {
friend class UpdateCommandEnv;
public:
- Thread(cssu::Reference< cssu::XComponentContext > ctx,
+ Thread(cssu::Reference< cssu::XComponentContext > const & ctx,
UpdateInstallDialog & dialog, std::vector< dp_gui::UpdateData > & aVecUpdateData);
void stop();
@@ -146,7 +146,7 @@ public:
UpdateInstallDialog::Thread::Thread(
- cssu::Reference< cssu::XComponentContext> xCtx,
+ cssu::Reference< cssu::XComponentContext> const & xCtx,
UpdateInstallDialog & dialog,
std::vector< dp_gui::UpdateData > & aVecUpdateData):
salhelper::Thread("dp_gui_updateinstalldialog"),
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx
index 95e63d0880cd..9ad6f7de2d76 100644
--- a/desktop/source/migration/migration_impl.hxx
+++ b/desktop/source/migration/migration_impl.hxx
@@ -104,7 +104,7 @@ struct MigrationItem
MigrationItem(const OUString& sParentNodeName,
const OUString& sPrevSibling,
const OUString& sCommandURL,
- const css::uno::Reference< css::container::XIndexContainer > xPopupMenu)
+ const css::uno::Reference< css::container::XIndexContainer > & xPopupMenu)
{
m_sParentNodeName = sParentNodeName;
m_sPrevSibling = sPrevSibling;