diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-14 14:34:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-14 16:54:27 +0200 |
commit | b2096deaff52f462e2df4e7bdc9816bb3604fb08 (patch) | |
tree | 3df2f9284132042730e12c3f11b6b7a5f13d35cf /ucb/source | |
parent | 83d77931e03908c1718d9dc48f29c1db984fba85 (diff) |
various loplugin:passsequencebyref
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/file/filnot.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/file/filnot.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/filnot.cxx b/ucb/source/ucp/file/filnot.cxx index 1f38d42cfb7b..393d85cde6e8 100644 --- a/ucb/source/ucp/file/filnot.cxx +++ b/ucb/source/ucp/file/filnot.cxx @@ -218,9 +218,10 @@ PropertyChangeNotifier::~PropertyChangeNotifier() void PropertyChangeNotifier::notifyPropertyChanged( - uno::Sequence< beans::PropertyChangeEvent > Changes ) + const uno::Sequence< beans::PropertyChangeEvent >& _Changes ) { sal_Int32 j; + uno::Sequence< beans::PropertyChangeEvent > Changes = _Changes; for( j = 0; j < Changes.getLength(); ++j ) Changes[j].Source = m_xCreatorContent; diff --git a/ucb/source/ucp/file/filnot.hxx b/ucb/source/ucp/file/filnot.hxx index dd4f690506c5..0edf0b5719f3 100644 --- a/ucb/source/ucp/file/filnot.hxx +++ b/ucb/source/ucp/file/filnot.hxx @@ -100,7 +100,7 @@ namespace fileaccess { ~PropertyChangeNotifier(); void notifyPropertyChanged( - com::sun::star::uno::Sequence< com::sun::star::beans::PropertyChangeEvent > seqChanged ); + const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyChangeEvent >& seqChanged ); }; |