summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 71ad3ca2fe54..a73b87cf0011 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -712,17 +712,17 @@ void SAL_CALL Moderator::onTerminated()
but with handled timeout;
*/
static bool UCBOpenContentSync_(
- UcbLockBytesRef xLockBytes,
- Reference < XContent > xContent,
+ const UcbLockBytesRef& xLockBytes,
+ const Reference < XContent >& xContent,
const Command& rArg,
- Reference < XInterface > xSink,
- Reference < XInteractionHandler > xInteract );
+ const Reference < XInterface >& xSink,
+ const Reference < XInteractionHandler >& xInteract );
static bool UCBOpenContentSync(
- UcbLockBytesRef xLockBytes,
+ const UcbLockBytesRef& xLockBytes,
Reference < XContent > xContent,
const Command& rArg,
- Reference < XInterface > xSink,
+ const Reference < XInterface >& xSink,
Reference < XInteractionHandler > xInteract )
{
// http protocol must be handled in a special way:
@@ -957,11 +957,11 @@ static bool UCBOpenContentSync(
Function for opening UCB contents synchronously
*/
static bool UCBOpenContentSync_(
- UcbLockBytesRef xLockBytes,
- Reference < XContent > xContent,
+ const UcbLockBytesRef& xLockBytes,
+ const Reference < XContent >& xContent,
const Command& rArg,
- Reference < XInterface > xSink,
- Reference < XInteractionHandler > xInteract )
+ const Reference < XInterface >& xSink,
+ const Reference < XInteractionHandler >& xInteract )
{
::ucbhelper::Content aContent(
xContent, new UcbTaskEnvironment( xInteract, nullptr ),