summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-15 20:00:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-16 07:52:11 +0100
commit51558d2215a4cf881e357eda7da20688ac61e780 (patch)
treea9e57dd8d2d3dc103fcb42b3493b1c18333f2d70 /linguistic
parent99bc040b134c8cece576196fb338954ced7c0f24 (diff)
loplugin:referencecasting in hwpfilter..lotuswordpro
Change-Id: Ib4a1ae456c44638386425e690a089360e991b26c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110949 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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();