diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.hxx | 2 | ||||
-rw-r--r-- | ucb/source/core/providermap.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.hxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index 73f0c5a8b256..54c1d112ea2e 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -289,7 +289,7 @@ const Any& CachedContentResultSet::CCRS_Cache return (*rRow)[nColumnIndex-1]; } -OUString CachedContentResultSet::CCRS_Cache +OUString const & CachedContentResultSet::CCRS_Cache ::getContentIdentifierString( sal_Int32 nRow ) { try diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx index bdd8837362e7..51e73b1317bd 100644 --- a/ucb/source/cacher/cachedcontentresultset.hxx +++ b/ucb/source/cacher/cachedcontentresultset.hxx @@ -98,7 +98,7 @@ class CachedContentResultSet getAny( sal_Int32 nRow, sal_Int32 nColumnIndex ); /// @throws css::uno::RuntimeException - OUString + OUString const & getContentIdentifierString( sal_Int32 nRow ); /// @throws css::uno::RuntimeException diff --git a/ucb/source/core/providermap.hxx b/ucb/source/core/providermap.hxx index c1b50e058820..1a253f405f3a 100644 --- a/ucb/source/core/providermap.hxx +++ b/ucb/source/core/providermap.hxx @@ -46,10 +46,10 @@ public: const css::uno::Reference< css::ucb::XContentProvider >& getProvider() const { return m_xProvider; } - inline css::uno::Reference< css::ucb::XContentProvider > getResolvedProvider() const; + inline css::uno::Reference< css::ucb::XContentProvider > const & getResolvedProvider() const; }; -inline css::uno::Reference< css::ucb::XContentProvider > +inline css::uno::Reference< css::ucb::XContentProvider > const & ProviderListEntry_Impl::getResolvedProvider() const { return m_xResolvedProvider.is() ? m_xResolvedProvider : resolveProvider(); diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 28b23678326c..ec080f1f0473 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -197,7 +197,7 @@ public: const OUString & getHostName() const { return m_aHostName; } - const ::uno::Reference< ::uno::XComponentContext > getComponentContext() + ::uno::Reference< ::uno::XComponentContext > const & getComponentContext() { return m_xFactory->getComponentContext(); } const void * getRequestData() const { return m_pRequestData; } |