summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit2bcafc519e25965b5658e80d6af2ec24fe2deb8e (patch)
tree3516da629070f1e5986fa5d24c7601326db22611 /include/sot
parent7a0a0babf64d2462e244fdc7a6c6db795edb9887 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ifc0f5788c906b2c014f277b2d290c33806c357ab
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/stg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index a0a5eeaa5884..8d4479e90511 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -221,7 +221,7 @@ friend class UCBStorage;
protected:
virtual ~UCBStorageStream();
public:
- UCBStorageStream( const OUString& rName, StreamMode nMode, bool bDirect, const OString* pKey, bool bRepair, css::uno::Reference< css::ucb::XProgressHandler > xProgress );
+ UCBStorageStream( const OUString& rName, StreamMode nMode, bool bDirect, const OString* pKey, bool bRepair, css::uno::Reference< css::ucb::XProgressHandler > const & xProgress );
UCBStorageStream( UCBStorageStream_Impl* );
virtual sal_uLong Read( void * pData, sal_uLong nSize ) override;
@@ -269,7 +269,7 @@ public:
bool bDirect,
bool bIsRoot,
bool bIsRepair,
- css::uno::Reference< css::ucb::XProgressHandler >
+ css::uno::Reference< css::ucb::XProgressHandler > const &
xProgressHandler );
UCBStorage( UCBStorage_Impl* );