diff options
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/inputchecker/inputsequencechecker.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/i18npool/source/inputchecker/inputsequencechecker.cxx b/i18npool/source/inputchecker/inputsequencechecker.cxx index 061a4c5e4e19..159663edc3fc 100644 --- a/i18npool/source/inputchecker/inputsequencechecker.cxx +++ b/i18npool/source/inputchecker/inputsequencechecker.cxx @@ -123,8 +123,7 @@ InputSequenceCheckerImpl::getInputSequenceChecker(sal_Char* rLanguage) throw (Ru m_xContext); if ( xI.is() ) { - Reference< XExtendedInputSequenceChecker > xISC; - xI->queryInterface( getCppuType((const Reference< XExtendedInputSequenceChecker>*)0) ) >>= xISC; + Reference< XExtendedInputSequenceChecker > xISC( xI, uno::UNO_QUERY ); if (xISC.is()) { lookupTable.push_back(cachedItem = new lookupTableItem(rLanguage, xISC)); return cachedItem->xISC; |