diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 14:46:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 16:04:20 +0200 |
commit | 01782ecd9fb1e712925cdeb29694faad3c6beed7 (patch) | |
tree | e5d6050f3b327cd3db2b2a4a7651cbfaca6625e5 /lingucomponent/source/spellcheck | |
parent | bac57f75cd18472167742e804d789ffbc43fa9a9 (diff) |
loplugin:referencecasting in various
Change-Id: Id4e3d9d1bbfd47181299568afec45e996eb1eed5
Reviewed-on: https://gerrit.libreoffice.org/76071
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent/source/spellcheck')
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 64032ad14b2d..43f6bef717a0 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -99,7 +99,7 @@ PropertyHelper_Spelling & SpellChecker::GetPropHelper_Impl() { if (!m_pPropHelper) { - Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY ); + Reference< XLinguProperties > xPropSet = GetLinguProperties(); m_pPropHelper.reset( new PropertyHelper_Spelling( static_cast<XSpellChecker *>(this), xPropSet ) ); m_pPropHelper->AddAsPropListener(); //! after a reference is established |