summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 16:00:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit5f1e7fe6f0573b7b5565eb9d76b686ebc97a06ea (patch)
treed1f6e66c525d2122f7e541c64269c7cfe3883bb3 /unotools/source/ucbhelper/ucblockbytes.cxx
parent716caf6fe00ed98e5fd0d6d208f5a25e956bc861 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I08992bb66d5459333e018bb52dceee3e808fac8b
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index a87ef191e08a..f894c1cf7e1a 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -220,8 +220,8 @@ class Moderator
public:
Moderator(
- Reference < XContent >& xContent,
- Reference < XInteractionHandler >& xInteract,
+ Reference < XContent > const & xContent,
+ Reference < XInteractionHandler > const & xInteract,
const Command& rArg
)
throw(
@@ -495,8 +495,8 @@ ModeratorsInteractionHandler::handle(
}
Moderator::Moderator(
- Reference < XContent >& xContent,
- Reference < XInteractionHandler >& xInteract,
+ Reference < XContent > const & xContent,
+ Reference < XInteractionHandler > const & xInteract,
const Command& rArg
)
throw(
@@ -720,10 +720,10 @@ static bool UCBOpenContentSync_(
static bool UCBOpenContentSync(
const UcbLockBytesRef& xLockBytes,
- Reference < XContent > xContent,
+ Reference < XContent > const & xContent,
const Command& rArg,
const Reference < XInterface >& xSink,
- Reference < XInteractionHandler > xInteract )
+ Reference < XInteractionHandler > const & xInteract )
{
// http protocol must be handled in a special way:
// during the opening process the input stream may change