summaryrefslogtreecommitdiff
path: root/linguistic/source/hyphdsp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/hyphdsp.cxx')
-rw-r--r--linguistic/source/hyphdsp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index 677fe74f9ff4..ee45990351bc 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -345,7 +345,7 @@ Reference< XHyphenatedWord > SAL_CALL
{
Reference< XHyphenator > *pRef = pEntry->aSvcRefs.getArray();
- Reference< XComponentContext > xContext(
+ const Reference< XComponentContext >& xContext(
comphelper::getProcessComponentContext() );
// build service initialization argument
@@ -477,7 +477,7 @@ Reference< XHyphenatedWord > SAL_CALL
{
Reference< XHyphenator > *pRef = pEntry->aSvcRefs.getArray();
- Reference< XComponentContext > xContext(
+ const Reference< XComponentContext >& xContext(
comphelper::getProcessComponentContext() );
// build service initialization argument
@@ -599,7 +599,7 @@ Reference< XPossibleHyphens > SAL_CALL
{
Reference< XHyphenator > *pRef = pEntry->aSvcRefs.getArray();
- Reference< XComponentContext > xContext(
+ const Reference< XComponentContext >& xContext(
comphelper::getProcessComponentContext() );
// build service initialization argument