summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/hyphdsp.hxx8
-rw-r--r--linguistic/source/spelldsp.hxx8
-rw-r--r--linguistic/source/thesdsp.hxx4
3 files changed, 10 insertions, 10 deletions
diff --git a/linguistic/source/hyphdsp.hxx b/linguistic/source/hyphdsp.hxx
index 0061e9255401..a119224ca09a 100644
--- a/linguistic/source/hyphdsp.hxx
+++ b/linguistic/source/hyphdsp.hxx
@@ -55,9 +55,9 @@ class HyphenatorDispatcher :
HyphenatorDispatcher(const HyphenatorDispatcher &) = delete;
HyphenatorDispatcher & operator = (const HyphenatorDispatcher &) = delete;
- 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();
void ClearSvcList();
@@ -108,7 +108,7 @@ public:
};
-inline css::uno::Reference< css::linguistic2::XLinguProperties >
+inline const css::uno::Reference< css::linguistic2::XLinguProperties > &
HyphenatorDispatcher::GetPropSet()
{
if (!xPropSet.is())
@@ -117,7 +117,7 @@ inline css::uno::Reference< css::linguistic2::XLinguProperties >
}
-inline css::uno::Reference< css::linguistic2::XSearchableDictionaryList >
+inline const css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &
HyphenatorDispatcher::GetDicList()
{
if (!xDicList.is())
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())
diff --git a/linguistic/source/thesdsp.hxx b/linguistic/source/thesdsp.hxx
index 077413d6e791..80cafe29cc4b 100644
--- a/linguistic/source/thesdsp.hxx
+++ b/linguistic/source/thesdsp.hxx
@@ -48,7 +48,7 @@ class ThesaurusDispatcher :
ThesaurusDispatcher(const ThesaurusDispatcher &) = delete;
ThesaurusDispatcher & operator = (const ThesaurusDispatcher &) = delete;
- inline css::uno::Reference< css::linguistic2::XLinguProperties >
+ inline const css::uno::Reference< css::linguistic2::XLinguProperties > &
GetPropSet();
void ClearSvcList();
@@ -78,7 +78,7 @@ public:
};
-inline css::uno::Reference< css::linguistic2::XLinguProperties >
+inline const css::uno::Reference< css::linguistic2::XLinguProperties > &
ThesaurusDispatcher::GetPropSet()
{
if (!xPropSet.is())