diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-19 14:04:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-19 14:52:09 +0200 |
commit | 0a4e138d3ac3609f2e1465c8a949d07eb89bccf0 (patch) | |
tree | edd98c075216ea4245c343ea5223856936faf8cc /editeng/source/misc/splwrap.cxx | |
parent | 9987bb6ee096afada1dac848db95b3c311f723f7 (diff) |
loplugin:referencecasting in editeng
Change-Id: I584266ba58e55e6435e76180227c0a5756aa0c23
Reviewed-on: https://gerrit.libreoffice.org/75950
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/misc/splwrap.cxx')
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 0d657c9009f6..5e9cddc5d841 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -401,7 +401,7 @@ Reference< XDictionary > SvxSpellWrapper::GetAllRightDic() sal_Int32 i = 0; while (!xDic.is() && i < nCount) { - Reference< XDictionary > xTmp( pDic[i], UNO_QUERY ); + Reference< XDictionary > xTmp = pDic[i]; if (xTmp.is()) { if ( xTmp->isActive() && @@ -457,8 +457,8 @@ bool SvxSpellWrapper::FindSpellError() else { // look up in ChangeAllList for misspelled word - Reference< XDictionary > xChangeAllList( - LinguMgr::GetChangeAllList(), UNO_QUERY ); + Reference< XDictionary > xChangeAllList = + LinguMgr::GetChangeAllList(); Reference< XDictionaryEntry > xEntry; if (xChangeAllList.is()) xEntry = xChangeAllList->getEntry( xAlt->getWord() ); |