summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-11 13:03:07 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-11 13:04:09 -0400
commitee5fc5d25fe102c30daf7d181b8181d40b85a4f3 (patch)
tree630217c52fcbca775e094fa69702e89ef773b414 /sc
parent02a89fdb0e54c31e510682f9b70f9fd33fe88efa (diff)
Removing EXTENDED_DATE. There is really no such thing.
This can be safely substituted by the normal DATE. Change-Id: I I6b4ccfa342a8d7b638b013cdce64a0b7ff477ec0
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index 7f36dfb1b71a..9699945a20f2 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -1166,7 +1166,6 @@ ScEditFieldObj::ScEditFieldObj(
pPropSet = lcl_GetURLPropertySet();
break;
case text::textfield::Type::DATE:
- case text::textfield::Type::EXTENDED_DATE:
case text::textfield::Type::TIME:
case text::textfield::Type::EXTENDED_TIME:
pPropSet = getDateTimePropertySet();
@@ -1175,7 +1174,7 @@ ScEditFieldObj::ScEditFieldObj(
pPropSet = lcl_GetHeaderFieldPropertySet();
}
- if (meType == text::textfield::Type::DATE || meType == text::textfield::Type::EXTENDED_DATE)
+ if (meType == text::textfield::Type::DATE)
mbIsDate = true;
}
@@ -1343,7 +1342,6 @@ void SAL_CALL ScEditFieldObj::setPropertyValue(
setPropertyValueFile(aPropertyName, aValue);
break;
case text::textfield::Type::DATE:
- case text::textfield::Type::EXTENDED_DATE:
case text::textfield::Type::TIME:
case text::textfield::Type::EXTENDED_TIME:
setPropertyValueDateTime(aPropertyName, aValue);
@@ -1397,7 +1395,6 @@ uno::Any SAL_CALL ScEditFieldObj::getPropertyValue( const rtl::OUString& aProper
return getPropertyValueFile(aPropertyName);
case text::textfield::Type::DATE:
case text::textfield::Type::TIME:
- case text::textfield::Type::EXTENDED_DATE:
case text::textfield::Type::EXTENDED_TIME:
return getPropertyValueDateTime(aPropertyName);
case text::textfield::Type::FILE: