From fcb8df3bcf551fc3437e6c7c8ddb24dc5a09db02 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Nov 2015 14:16:19 +0200 Subject: use uno::Reference::set method instead of assignment Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077 --- lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lingucomponent/source') 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; -- cgit