diff options
Diffstat (limited to 'linguistic/source/thesdsp.cxx')
-rw-r--r-- | linguistic/source/thesdsp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index a0027a10c5cf..8676318f0c23 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -171,8 +171,7 @@ Sequence< Reference< XMeaning > > SAL_CALL Reference< XThesaurus > xThes; try { - xThes = Reference< XThesaurus >( - xContext->getServiceManager()->createInstanceWithArgumentsAndContext( + xThes.set( xContext->getServiceManager()->createInstanceWithArgumentsAndContext( pImplNames[i], aArgs, xContext ), UNO_QUERY ); } |