diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-12 17:20:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-03-04 10:13:19 +0200 |
commit | 57dbe20c2bfa0cf5ced0826f61a130414c948f83 (patch) | |
tree | 35a95e63d2080f0903f4270737ba3ccdc6ffd25a /i18npool/source/indexentry | |
parent | 587c294daba76f89f8de17e86ab0cae495123997 (diff) |
fdo#46808, clean up some old queryInterface() calls
clean up stuff like this
xI->queryInterface( getCppuType((const Reference< XExtendedInputSequenceChecker>*)0) ) >>= xISC;
to
xISC.set(xI, UNO_QUERY);
Change-Id: I3b16a38c2a363440f6079cfe6ae47f009d3940db
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier.cxx b/i18npool/source/indexentry/indexentrysupplier.cxx index 9005d12e4f10..9c5ab1736483 100644 --- a/i18npool/source/indexentry/indexentrysupplier.cxx +++ b/i18npool/source/indexentry/indexentrysupplier.cxx @@ -105,7 +105,7 @@ sal_Bool SAL_CALL IndexEntrySupplier::createLocaleSpecificIndexEntrySupplier(con OUString("com.sun.star.i18n.IndexEntrySupplier_") + name, m_xContext); if ( xI.is() ) { - xI->queryInterface( ::getCppuType((const Reference< com::sun::star::i18n::XExtendedIndexEntrySupplier>*)0) ) >>= xIES; + xIES.set( xI, UNO_QUERY ); return xIES.is(); } return sal_False; |