Index: fpdfsdk/src/javascript/JS_Value.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Value.cpp b/fpdfsdk/src/javascript/JS_Value.cpp |
index 17b0d8738d48f5a0477a99d2c1eda616697634cc..9f27387d1d3e80efef8af3d6b63139f3b0701677 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; |