summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:55:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit580c0f5ede31ae497a9fe86790a142a5bce63e69 (patch)
treeb844b549bf1684c7f512761d604ddcbb35b58580 /basctl
parent84e4786e6a6d4e638127a890fc93520ce73d683d (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I2ddc6111cede4f7322aabbd1e5ecc671fe101d4e
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlged.cxx2
-rw-r--r--basctl/source/inc/dlged.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 06669a45700d..5cd875304e4d 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -176,7 +176,7 @@ bool DlgEditor::RemarkDialog()
DlgEditor::DlgEditor (
vcl::Window& rWindow_, DialogWindowLayout& rLayout_,
css::uno::Reference<css::frame::XModel> const& xModel,
- css::uno::Reference<css::container::XNameContainer> xDialogModel
+ css::uno::Reference<css::container::XNameContainer> const & xDialogModel
)
:pHScroll(nullptr)
,pVScroll(nullptr)
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx
index 76a0f0c2d23c..5963f0710f11 100644
--- a/basctl/source/inc/dlged.hxx
+++ b/basctl/source/inc/dlged.hxx
@@ -137,7 +137,7 @@ public:
DlgEditor (
vcl::Window&, DialogWindowLayout&,
css::uno::Reference<css::frame::XModel> const& xModel,
- css::uno::Reference<css::container::XNameContainer> xDialogModel
+ css::uno::Reference<css::container::XNameContainer> const & xDialogModel
);
virtual ~DlgEditor();