summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Value.cpp')
-rw-r--r--fpdfsdk/src/javascript/JS_Value.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/src/javascript/JS_Value.cpp b/fpdfsdk/src/javascript/JS_Value.cpp
index 17b0d8738d..9f27387d1d 100644
--- a/fpdfsdk/src/javascript/JS_Value.cpp
+++ b/fpdfsdk/src/javascript/JS_Value.cpp
@@ -274,12 +274,6 @@ FX_BOOL CJS_Value::ConvertToArray(CJS_Array& array) const {
}
FX_BOOL CJS_Value::ConvertToDate(CJS_Date& date) const {
- // if (GetType() == VT_date)
- // {
- // date = (double)(*this);
- // return TRUE;
- // }
-
if (IsDateObject()) {
date.Attach(m_pValue);
return TRUE;