diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 15:59:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 600df7c9ba0c9278bb0ef1e9e4fd70d59804e188 (patch) | |
tree | 796868cc254b450ccc27629f737eb10b704044bf /ucb | |
parent | 828d792379f21d5dba15a3c5033b9bedbf837782 (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I9adb9cce899591380c18fa8a336408ba9b21defd
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.cxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.hxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultset.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultset.hxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultsetstub.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultsetstub.hxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.hxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/dynamicresultsetwrapper.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/dynamicresultsetwrapper.hxx | 2 | ||||
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 2 | ||||
-rw-r--r-- | ucb/source/sorter/sortresult.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_datasupplier.hxx | 2 |
14 files changed, 15 insertions, 15 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index 9f8b48df3caa..64b860df3e6d 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -401,7 +401,7 @@ private: public: explicit CCRS_PropertySetInfo( Reference< - XPropertySetInfo > xPropertySetInfoOrigin ); + XPropertySetInfo > const & xPropertySetInfoOrigin ); virtual ~CCRS_PropertySetInfo(); @@ -439,7 +439,7 @@ OUString CCRS_PropertySetInfo::m_aPropertyNameForFetchSize( "FetchSize" ); OUString CCRS_PropertySetInfo::m_aPropertyNameForFetchDirection( "FetchDirection" ); CCRS_PropertySetInfo::CCRS_PropertySetInfo( - Reference< XPropertySetInfo > xInfo ) + Reference< XPropertySetInfo > const & xInfo ) : m_pProperties( nullptr ) , m_nFetchSizePropertyHandle( -1 ) , m_nFetchDirectionPropertyHandle( -1 ) diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index 251ca288dc00..aed7d5bc8c87 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -32,7 +32,7 @@ using namespace com::sun::star::util; using namespace cppu; -CachedContentResultSetStub::CachedContentResultSetStub( Reference< XResultSet > xOrigin ) +CachedContentResultSetStub::CachedContentResultSetStub( Reference< XResultSet > const & xOrigin ) : ContentResultSetWrapper( xOrigin ) , m_nColumnCount( 0 ) , m_bColumnCountCached( false ) diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx index 979310010a73..28b352042db3 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.hxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx @@ -84,7 +84,7 @@ private: throw ( css::uno::RuntimeException ); public: - CachedContentResultSetStub( css::uno::Reference< css::sdbc::XResultSet > xOrigin ); + CachedContentResultSetStub( css::uno::Reference< css::sdbc::XResultSet > const & xOrigin ); virtual ~CachedContentResultSetStub(); diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx index add46c27eabf..f984e622937b 100644 --- a/ucb/source/cacher/cacheddynamicresultset.cxx +++ b/ucb/source/cacher/cacheddynamicresultset.cxx @@ -31,7 +31,7 @@ using namespace com::sun::star::uno; CachedDynamicResultSet::CachedDynamicResultSet( - Reference< XDynamicResultSet > xOrigin + Reference< XDynamicResultSet > const & xOrigin , const Reference< XContentIdentifierMapping > & xContentMapping , const Reference< XComponentContext > & xContext ) : DynamicResultSetWrapper( xOrigin, xContext ) diff --git a/ucb/source/cacher/cacheddynamicresultset.hxx b/ucb/source/cacher/cacheddynamicresultset.hxx index 4df3b2131b69..c765e9b5764e 100644 --- a/ucb/source/cacher/cacheddynamicresultset.hxx +++ b/ucb/source/cacher/cacheddynamicresultset.hxx @@ -43,7 +43,7 @@ protected: impl_InitResultSetTwo( const css::uno::Reference< css::sdbc::XResultSet >& xResultSet ) override; public: - CachedDynamicResultSet( css::uno::Reference< css::ucb::XDynamicResultSet > xOrigin + CachedDynamicResultSet( css::uno::Reference< css::ucb::XDynamicResultSet > const & xOrigin , const css::uno::Reference< css::ucb::XContentIdentifierMapping > & xContentMapping , const css::uno::Reference< css::uno::XComponentContext > & xContext ); diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx index b75832218944..6643d2fd5232 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx @@ -33,7 +33,7 @@ using namespace com::sun::star::uno; CachedDynamicResultSetStub::CachedDynamicResultSetStub( - Reference< XDynamicResultSet > xOrigin + Reference< XDynamicResultSet > const & xOrigin , const Reference< XComponentContext > & rxContext ) : DynamicResultSetWrapper( xOrigin, rxContext ) { diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.hxx b/ucb/source/cacher/cacheddynamicresultsetstub.hxx index 7d46d962222a..7d84fadd3490 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.hxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.hxx @@ -39,7 +39,7 @@ protected: impl_InitResultSetTwo( const css::uno::Reference< css::sdbc::XResultSet >& xResultSet ) override; public: - CachedDynamicResultSetStub( css::uno::Reference< css::ucb::XDynamicResultSet > xOrigin + CachedDynamicResultSetStub( css::uno::Reference< css::ucb::XDynamicResultSet > const & xOrigin , const css::uno::Reference< css::uno::XComponentContext > & rxContext ); virtual ~CachedDynamicResultSetStub(); diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index a0f4437a9bd0..9604e8e68e2b 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -41,7 +41,7 @@ using namespace cppu; ContentResultSetWrapper::ContentResultSetWrapper( - Reference< XResultSet > xOrigin ) + Reference< XResultSet > const & xOrigin ) : m_xResultSetOrigin( xOrigin ) , m_xRowOrigin( nullptr ) , m_xContentAccessOrigin( nullptr ) diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx index fb672fca3c1b..f249dd619f1f 100644 --- a/ucb/source/cacher/contentresultsetwrapper.hxx +++ b/ucb/source/cacher/contentresultsetwrapper.hxx @@ -146,7 +146,7 @@ private: protected: - ContentResultSetWrapper( css::uno::Reference< css::sdbc::XResultSet > xOrigin ); + ContentResultSetWrapper( css::uno::Reference< css::sdbc::XResultSet > const & xOrigin ); virtual ~ContentResultSetWrapper(); diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx index 5b1e1ae2a8a4..3223ed5e9de7 100644 --- a/ucb/source/cacher/dynamicresultsetwrapper.cxx +++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx @@ -37,7 +37,7 @@ using namespace comphelper; DynamicResultSetWrapper::DynamicResultSetWrapper( - Reference< XDynamicResultSet > xOrigin + Reference< XDynamicResultSet > const & xOrigin , const Reference< XComponentContext > & rxContext ) : m_bDisposed( false ) diff --git a/ucb/source/cacher/dynamicresultsetwrapper.hxx b/ucb/source/cacher/dynamicresultsetwrapper.hxx index a054e67b2c6d..785582bda0f0 100644 --- a/ucb/source/cacher/dynamicresultsetwrapper.hxx +++ b/ucb/source/cacher/dynamicresultsetwrapper.hxx @@ -98,7 +98,7 @@ protected: public: DynamicResultSetWrapper( - css::uno::Reference< css::ucb::XDynamicResultSet > xOrigin + css::uno::Reference< css::ucb::XDynamicResultSet > const & xOrigin , const css::uno::Reference< css::uno::XComponentContext > & rxContext ); virtual ~DynamicResultSetWrapper(); diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 4931621581f5..25d507c0f2a2 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -119,7 +119,7 @@ public: }; -SortedResultSet::SortedResultSet( Reference< XResultSet > aResult ) +SortedResultSet::SortedResultSet( Reference< XResultSet > const & aResult ) { mpDisposeEventListeners = nullptr; mpPropChangeListeners = nullptr; diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx index 21a5fe6e6671..9d40be01a1d1 100644 --- a/ucb/source/sorter/sortresult.hxx +++ b/ucb/source/sorter/sortresult.hxx @@ -161,7 +161,7 @@ private: void PropertyChanged( const css::beans::PropertyChangeEvent& rEvt ); public: - SortedResultSet( css::uno::Reference< css::sdbc::XResultSet > aResult ); + SortedResultSet( css::uno::Reference< css::sdbc::XResultSet > const & aResult ); virtual ~SortedResultSet(); const SortedEntryList& GetS2OList() const { return maS2O; } diff --git a/ucb/source/ucp/cmis/cmis_datasupplier.hxx b/ucb/source/ucp/cmis/cmis_datasupplier.hxx index b637dab707a9..3002a887fb95 100644 --- a/ucb/source/ucp/cmis/cmis_datasupplier.hxx +++ b/ucb/source/ucp/cmis/cmis_datasupplier.hxx @@ -26,7 +26,7 @@ namespace cmis css::uno::Reference< css::ucb::XContent > xContent; css::uno::Reference< css::sdbc::XRow > xRow; - explicit ResultListEntry( css::uno::Reference< css::ucb::XContent > xCnt ) : xContent( xCnt ) + explicit ResultListEntry( css::uno::Reference< css::ucb::XContent > const & xCnt ) : xContent( xCnt ) { } |