summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 16:52:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 20:56:26 +0000
commit924b2923b8b1515a4c37079e72a2a9cc6010a4f4 (patch)
tree111cf075f4085a9d1b4f1a69e7d5cbcaff57133c /linguistic
parentb926671283837ccf4ee1b283ff4fb286e29cedfd (diff)
V801: Decreased performance
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/dicimp.cxx2
-rw-r--r--linguistic/source/dicimp.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index bdc8dd978c0e..07ce3eb25bed 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -682,7 +682,7 @@ bool DictionaryNeo::isSorted()
return bRes;
}
-bool DictionaryNeo::addEntry_Impl(const uno::Reference< XDictionaryEntry > xDicEntry,
+bool DictionaryNeo::addEntry_Impl(const uno::Reference< XDictionaryEntry >& xDicEntry,
bool bIsLoadEntries)
{
MutexGuard aGuard( GetLinguMutex() );
diff --git a/linguistic/source/dicimp.hxx b/linguistic/source/dicimp.hxx
index 29b1ecbc03ea..fc6647c3091a 100644
--- a/linguistic/source/dicimp.hxx
+++ b/linguistic/source/dicimp.hxx
@@ -76,7 +76,7 @@ class DictionaryNeo :
bool isSorted();
bool addEntry_Impl(const ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XDictionaryEntry > xDicEntry,
+ ::com::sun::star::linguistic2::XDictionaryEntry >& rDicEntry,
bool bIsLoadEntries = false);
public: