summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-01-23 23:10:41 +0100
committerEike Rathke <erack@redhat.com>2015-01-26 18:12:10 +0100
commitcd528c3099ffec4f34565820b923d6385478e44b (patch)
tree3156470b934873bf63307ed2740f4bf73614887f /unotools
parent15e1c881684c0127c0ca989924bbf2508b4fd780 (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 'unotools')
-rw-r--r--unotools/source/i18n/calendarwrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/calendarwrapper.cxx b/unotools/source/i18n/calendarwrapper.cxx
index c39f5f7f203e..6d082f2fc447 100644
--- a/unotools/source/i18n/calendarwrapper.cxx
+++ b/unotools/source/i18n/calendarwrapper.cxx
@@ -20,7 +20,7 @@
#include <rtl/strbuf.hxx>
#include <unotools/calendarwrapper.hxx>
#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
-#include <com/sun/star/i18n/LocaleCalendar.hpp>
+#include <com/sun/star/i18n/LocaleCalendar2.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::i18n;
@@ -34,7 +34,7 @@ CalendarWrapper::CalendarWrapper(
:
aEpochStart( Date( 1, 1, 1970 ) )
{
- xC = LocaleCalendar::create(rxContext);
+ xC = LocaleCalendar2::create(rxContext);
}
CalendarWrapper::~CalendarWrapper()