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/breakiterator | |
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/breakiterator')
-rw-r--r-- | i18npool/source/breakiterator/breakiteratorImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx index 4f2207a84413..55b0315d9728 100644 --- a/i18npool/source/breakiterator/breakiteratorImpl.cxx +++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx @@ -549,7 +549,7 @@ sal_Bool SAL_CALL BreakIteratorImpl::createLocaleSpecificBreakIterator(const OUS OUString("com.sun.star.i18n.BreakIterator_") + aLocaleName, m_xContext); if ( xI.is() ) { - xI->queryInterface( getCppuType((const Reference< XBreakIterator>*)0) ) >>= xBI; + xBI.set(xI, UNO_QUERY); if (xBI.is()) { lookupTable.push_back(new lookupTableItem(Locale(aLocaleName, aLocaleName, aLocaleName), xBI)); return sal_True; |