summaryrefslogtreecommitdiff
path: root/linguistic/source/misc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 20:07:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 07:55:53 +0200
commitdefdd8bebe40b48d8abc4d893ac9a82b550c5d19 (patch)
tree78f811275874463fa320f0e3db6a19987f2c1bd0 /linguistic/source/misc.cxx
parent952b806c22f798977f5478dd630131acf1a5f068 (diff)
loplugin:referencecasting in linguistic
Change-Id: Iff53942bebb1481666ae4469e16089d54669954f Reviewed-on: https://gerrit.libreoffice.org/75973 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic/source/misc.cxx')
-rw-r--r--linguistic/source/misc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx
index 29ad163ca912..61dc3506aa68 100644
--- a/linguistic/source/misc.cxx
+++ b/linguistic/source/misc.cxx
@@ -282,7 +282,7 @@ uno::Reference< XDictionaryEntry > SearchDicList(
sal_Int32 i;
for (i = 0; i < nDics; i++)
{
- uno::Reference< XDictionary > axDic( pDic[i], UNO_QUERY );
+ uno::Reference< XDictionary > axDic = pDic[i];
DictionaryType eType = axDic->getDictionaryType();
LanguageType nLang = LinguLocaleToLanguage( axDic->getLocale() );