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/calendar | |
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/calendar')
-rw-r--r-- | i18npool/source/calendar/calendarImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx index e7c76efae144..81a191b72e57 100644 --- a/i18npool/source/calendar/calendarImpl.cxx +++ b/i18npool/source/calendar/calendarImpl.cxx @@ -86,7 +86,7 @@ CalendarImpl::loadCalendar(const OUString& uniqueID, const Locale& rLocale ) thr } if ( xI.is() ) - xI->queryInterface(::getCppuType((const Reference< XCalendar3>*)0)) >>= xCalendar; + xCalendar.set(xI, UNO_QUERY); else throw ERROR; |