diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:48:25 +0000 |
commit | 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch) | |
tree | d1c8626818cbf26a699875ae2d82f751a1657e92 /linguistic/source | |
parent | 9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff) |
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/gciterator.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/gciterator.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index b15fa85258ff..e076fa6dc3e8 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -988,7 +988,7 @@ throw (uno::RuntimeException, std::exception) } -uno::Reference< util::XChangesBatch > GrammarCheckingIterator::GetUpdateAccess() const +uno::Reference< util::XChangesBatch > const & GrammarCheckingIterator::GetUpdateAccess() const { if (!m_xUpdateAccess.is()) { diff --git a/linguistic/source/gciterator.hxx b/linguistic/source/gciterator.hxx index 36e5f098a2c8..aa6b85967750 100644 --- a/linguistic/source/gciterator.hxx +++ b/linguistic/source/gciterator.hxx @@ -136,7 +136,7 @@ class GrammarCheckingIterator: void GetConfiguredGCSvcs_Impl(); css::uno::Reference< css::linguistic2::XProofreader > GetGrammarChecker( const css::lang::Locale & rLocale ); - css::uno::Reference< css::util::XChangesBatch > GetUpdateAccess() const; + css::uno::Reference< css::util::XChangesBatch > const & GetUpdateAccess() const; GrammarCheckingIterator( const GrammarCheckingIterator & ) = delete; GrammarCheckingIterator & operator = ( const GrammarCheckingIterator & ) = delete; |