summaryrefslogtreecommitdiff
path: root/linguistic/source/spelldsp.hxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-01-25 20:31:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-26 08:30:42 +0100
commitc83166ce7126b3c3c6aca8f6d2ab9cd9e16f5763 (patch)
tree2760b4870bf080fedcb40bf8c6f93c32030c4f7d /linguistic/source/spelldsp.hxx
parenta553c85cbd80a045b2e4742eefaa7fcc3953cb08 (diff)
loplugin:passstuffbyref
Change-Id: I330e0ab6c9955939dad313f9d472f93e39dbd313 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109924 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic/source/spelldsp.hxx')
-rw-r--r--linguistic/source/spelldsp.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx
index 492321527595..b617f749877e 100644
--- a/linguistic/source/spelldsp.hxx
+++ b/linguistic/source/spelldsp.hxx
@@ -61,9 +61,9 @@ class SpellCheckerDispatcher :
inline linguistic::SpellCache & GetCache() const;
- inline css::uno::Reference< css::linguistic2::XLinguProperties >
+ inline const css::uno::Reference< css::linguistic2::XLinguProperties > &
GetPropSet();
- inline css::uno::Reference< css::linguistic2::XSearchableDictionaryList >
+ inline const css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &
GetDicList();
/// @throws css::uno::RuntimeException
@@ -118,7 +118,7 @@ inline linguistic::SpellCache & SpellCheckerDispatcher::GetCache() const
}
-inline css::uno::Reference< css::linguistic2::XLinguProperties >
+inline const css::uno::Reference< css::linguistic2::XLinguProperties > &
SpellCheckerDispatcher::GetPropSet()
{
if (!m_xPropSet.is())
@@ -127,7 +127,7 @@ inline css::uno::Reference< css::linguistic2::XLinguProperties >
}
-inline css::uno::Reference< css::linguistic2::XSearchableDictionaryList >
+inline const css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &
SpellCheckerDispatcher::GetDicList()
{
if (!m_xDicList.is())