summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unotools/inc/unotools/ucblockbytes.hxx2
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/unotools/inc/unotools/ucblockbytes.hxx b/unotools/inc/unotools/ucblockbytes.hxx
index c26f1e6cc5ac..0bc515d23d92 100644
--- a/unotools/inc/unotools/ucblockbytes.hxx
+++ b/unotools/inc/unotools/ucblockbytes.hxx
@@ -115,7 +115,7 @@ public:
static UcbLockBytesRef CreateLockBytes( const NS_UNO::Reference < NS_UCB::XContent > xContent,
const NS_UNO::Sequence < NS_BEANS::PropertyValue >& rProps,
NS_UNO::Reference < NS_IO::XInputStream > xPostData,
- const NS_UNO::Reference < NS_TASK::XInteractionHandler > xInter,
+ const NS_UNO::Reference < NS_TASK::XInteractionHandler >& xInter,
UcbLockBytesHandler* pHandler=0 );
static UcbLockBytesRef CreateLockBytes( const NS_UNO::Reference < NS_UCB::XContent > xContent,
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 9b1f4afb0f53..b98981a2ec52 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucblockbytes.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: mba $ $Date: 2001-07-16 14:46:26 $
+ * last change: $Author: mba $ $Date: 2001-07-18 09:07:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -828,7 +828,7 @@ UcbLockBytesRef UcbLockBytes::CreateInputLockBytes( const Reference< XInputStrea
}
UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent > xContent, const Sequence < PropertyValue >& rProps,
- Reference < XInputStream > xPostData, Reference < XInteractionHandler > xInteractionHandler, UcbLockBytesHandler* pHandler )
+ Reference < XInputStream > xPostData, const Reference < XInteractionHandler >& xInteractionHandler, UcbLockBytesHandler* pHandler )
{
if( !xContent.is() )
return NULL;;