summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-02-11 09:21:50 +0200
committerNoel Grandin <noel@peralex.com>2013-02-12 10:14:41 +0200
commite2ab5539a4a68f443cf7f77784a820e280fc969f (patch)
tree89efe0c4a3a55b9a99c94dccb901eb94861d8674 /i18npool
parent98fa4be44290ceefd7f08ef167f0278743ade1c5 (diff)
fdo#46808, convert i18n::InputSequenceChecker to new-style
Change-Id: I29678d74ae3c6dc38d3d09e2cf4a0d4f28f789a1
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/inputchecker/inputsequencechecker.cxx3
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;