summaryrefslogtreecommitdiff
path: root/linguistic/source/gciterator.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 12:08:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 11:37:19 +0000
commit62633dfe026bc3badf7066e5fb454036bae9cfdc (patch)
treeb1a30ddd709ba80b8629d916d54c03d733651d12 /linguistic/source/gciterator.hxx
parentaa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde (diff)
clang-tidy performance-unnecessary-value-param in various
Change-Id: I7168d44dab8e6a8e37bb7920d744ff32f5e52907 Reviewed-on: https://gerrit.libreoffice.org/24019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'linguistic/source/gciterator.hxx')
-rw-r--r--linguistic/source/gciterator.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/gciterator.hxx b/linguistic/source/gciterator.hxx
index 3b15744f4074..36e5f098a2c8 100644
--- a/linguistic/source/gciterator.hxx
+++ b/linguistic/source/gciterator.hxx
@@ -123,8 +123,8 @@ class GrammarCheckingIterator:
OUString GetOrCreateDocId( const css::uno::Reference< css::lang::XComponent > &xComp );
void AddEntry(
- css::uno::WeakReference< css::text::XFlatParagraphIterator > xFlatParaIterator,
- css::uno::WeakReference< css::text::XFlatParagraph > xFlatPara,
+ const css::uno::WeakReference< css::text::XFlatParagraphIterator >& xFlatParaIterator,
+ const css::uno::WeakReference< css::text::XFlatParagraph >& xFlatPara,
const OUString &rDocId, sal_Int32 nStartIndex, bool bAutomatic );
void ProcessResult( const css::linguistic2::ProofreadingResult &rRes,