summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-30 13:15:34 +0100
committerEike Rathke <erack@redhat.com>2011-11-30 13:15:54 +0100
commitc593018f6f2deec8eb98880ac89f19b59a3aee1f (patch)
tree59aa870956538215fd2eb85b1c5fdaddfec0b3fe /svl
parent2d9beb7854bdfa6e6140e78ab754414340725e38 (diff)
no need to check for Gregorian cut-off date here
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/dateitem.cxx2
1 files changed, 1 insertions, 1 deletions
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);