From c593018f6f2deec8eb98880ac89f19b59a3aee1f Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 30 Nov 2011 13:15:34 +0100 Subject: no need to check for Gregorian cut-off date here --- svl/source/items/dateitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx index accd1cfb8ca3..67ed22985c6b 100644 --- a/svl/source/items/dateitem.cxx +++ b/svl/source/items/dateitem.cxx @@ -148,7 +148,7 @@ SfxItemPresentation SfxDateTimeItem::GetPresentation ) const { DBG_CHKTHIS(SfxDateTimeItem, 0); - if (aDateTime.IsValidAndGregorian()) + if (aDateTime.IsValidDate()) if (pIntlWrapper) { rText = pIntlWrapper->getLocaleData()->getDate(aDateTime); -- cgit