summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 14:16:19 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:20:51 +0200
commitfcb8df3bcf551fc3437e6c7c8ddb24dc5a09db02 (patch)
treeb00511c71c3ea467e1f029cfdb80bb6ce72960b5 /lingucomponent
parent59b072e22b0610abc7ffdbc75873ef5cbba58de7 (diff)
use uno::Reference::set method instead of assignment
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index 29adef111091..017429ef4b4a 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -466,7 +466,7 @@ Sequence < Reference < css::linguistic2::XMeaning > > SAL_CALL Thesaurus::queryM
return noMeanings;
stem = 1;
- xSpell = uno::Reference< XSpellChecker1 >( xLngSvcMgr->getSpellChecker(), UNO_QUERY );
+ xSpell.set( xLngSvcMgr->getSpellChecker(), UNO_QUERY );
if (!xSpell.is() || !xSpell->isValid( SPELLML_SUPPORT, nLanguage, rProperties ))
return noMeanings;
Reference< XSpellAlternatives > xTmpRes;