summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitaace63283a5d4d6945c0d589c26125607a606486 (patch)
treee7f3c561a5470f45ecd8134699988f472898c067 /svl
parentd127fb02b1dfe4c173df955473d73e4767ef3638 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I68ec15e8b52dd387b18077941811702b40caf020
Diffstat (limited to 'svl')
-rw-r--r--svl/source/fsstor/fsstorage.cxx4
-rw-r--r--svl/source/fsstor/fsstorage.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index 2ee5a8b3b939..08561f0e0885 100644
--- a/svl/source/fsstor/fsstorage.cxx
+++ b/svl/source/fsstor/fsstorage.cxx
@@ -74,7 +74,7 @@ struct FSStorage_Impl
uno::Reference< uno::XComponentContext > m_xContext;
- FSStorage_Impl( const ::ucbhelper::Content& aContent, sal_Int32 nMode, uno::Reference< uno::XComponentContext > xContext )
+ FSStorage_Impl( const ::ucbhelper::Content& aContent, sal_Int32 nMode, uno::Reference< uno::XComponentContext > const & xContext )
: m_aURL( aContent.getURL() )
, m_pContent( new ::ucbhelper::Content( aContent ) )
, m_nMode( nMode )
@@ -101,7 +101,7 @@ FSStorage_Impl::~FSStorage_Impl()
FSStorage::FSStorage( const ::ucbhelper::Content& aContent,
sal_Int32 nMode,
- uno::Reference< uno::XComponentContext > xContext )
+ uno::Reference< uno::XComponentContext > const & xContext )
: m_pImpl( new FSStorage_Impl( aContent, nMode, xContext ) )
{
// TODO: use properties
diff --git a/svl/source/fsstor/fsstorage.hxx b/svl/source/fsstor/fsstorage.hxx
index 1fb746fe7cb6..ddbaab89ae65 100644
--- a/svl/source/fsstor/fsstorage.hxx
+++ b/svl/source/fsstor/fsstorage.hxx
@@ -51,7 +51,7 @@ public:
FSStorage( const ::ucbhelper::Content& aContent,
sal_Int32 nMode,
- css::uno::Reference< css::uno::XComponentContext > xContext );
+ css::uno::Reference< css::uno::XComponentContext > const & xContext );
virtual ~FSStorage();