summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdiclist.cxx2
-rw-r--r--linguistic/source/dlistimp.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index f5a7e8e34b9e..43d75141bc01 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -389,7 +389,7 @@ uno::Reference< container::XNameContainer > SAL_CALL ConvDicList::getDictionaryC
MutexGuard aGuard( GetLinguMutex() );
GetNameContainer();
DBG_ASSERT( mxNameContainer.is(), "missing name container" );
- return mxNameContainer.get();
+ return mxNameContainer;
}
uno::Reference< XConversionDictionary > SAL_CALL ConvDicList::addNewDictionary(
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index c0f5f800c688..eb48e7e5311b 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -396,7 +396,7 @@ sal_Bool SAL_CALL DicList::addDictionary(
bRes = true;
// add listener helper to the dictionaries listener lists
- xDictionary->addDictionaryEventListener( mxDicEvtLstnrHelper.get() );
+ xDictionary->addDictionaryEventListener( mxDicEvtLstnrHelper );
}
return bRes;
}
@@ -422,7 +422,7 @@ sal_Bool SAL_CALL
// deactivate dictionary if not already done
xDic->setActive( false );
- xDic->removeDictionaryEventListener( mxDicEvtLstnrHelper.get() );
+ xDic->removeDictionaryEventListener( mxDicEvtLstnrHelper );
}
// remove element at nPos
@@ -546,7 +546,7 @@ void SAL_CALL
// release references to (members of) this object hold by
// dictionaries
if (rDicList[i].is())
- rDicList[i]->removeDictionaryEventListener( mxDicEvtLstnrHelper.get() );
+ rDicList[i]->removeDictionaryEventListener( mxDicEvtLstnrHelper );
}
}
mxDicEvtLstnrHelper.clear();