diff options
author | Eike Rathke <erack@redhat.com> | 2015-01-23 23:10:41 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-01-26 18:12:10 +0100 |
commit | cd528c3099ffec4f34565820b923d6385478e44b (patch) | |
tree | 3156470b934873bf63307ed2740f4bf73614887f /svl | |
parent | 15e1c881684c0127c0ca989924bbf2508b4fd780 (diff) |
implement css::i18n::XCalendar4 and LocaleCalendar2 service, tdf#63230
Implementation only, new local date/time routines not used yet from the
outside in this step.
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index 4e1f3cd38fae..94498741f848 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -28,7 +28,7 @@ #include <unotools/calendarwrapper.hxx> #include <unotools/localedatawrapper.hxx> #include <com/sun/star/i18n/CalendarFieldIndex.hpp> -#include <com/sun/star/i18n/LocaleCalendar.hpp> +#include <com/sun/star/i18n/LocaleCalendar2.hpp> #include <unotools/digitgroupingiterator.hxx> #include <svl/zforlist.hxx> @@ -44,7 +44,7 @@ #endif #if NF_TEST_CALENDAR #include <comphelper/processfactory.hxx> -#include <com/sun/star/i18n/XCalendar3.hpp> +#include <com/sun/star/i18n/XCalendar4.hpp> #endif @@ -1974,7 +1974,7 @@ input for the following reasons: sal_Int32 nZoneInMillis, nDST1InMillis, nDST2InMillis; uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext(); - uno::Reference< i18n::XCalendar3 > xCal = i18n::LocaleCalendar::create(xContext); + uno::Reference< i18n::XCalendar4 > xCal = i18n::LocaleCalendar2::create(xContext); for ( const entry* p = cals; p->lan; ++p ) { aLocale.Language = OUString::createFromAscii( p->lan ); |