summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/PublicMethods.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-20 11:48:29 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-20 11:48:29 -0800
commit4246b0015732d7611ad6838b76b85161fab3795e (patch)
tree97591bdfa54a443abd025943788af65a9a82291f /fpdfsdk/src/javascript/PublicMethods.h
parentc4fd5c183142aef5ae93b918b65a0bf01d2a0a1e (diff)
downloadpdfium-4246b0015732d7611ad6838b76b85161fab3795e.tar.xz
Merge to XFA: Bugs in CJS_PublicMethods::ParseNumber().
Original Review URL: https://codereview.chromium.org/1586203006 . (cherry picked from commit f13d510cf267c27f4c123494de67670ec201cedc) BUG=pdfium:361 R=ochang@chromium.org TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1603173004 .
Diffstat (limited to 'fpdfsdk/src/javascript/PublicMethods.h')
-rw-r--r--fpdfsdk/src/javascript/PublicMethods.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fpdfsdk/src/javascript/PublicMethods.h b/fpdfsdk/src/javascript/PublicMethods.h
index 013c4ce1a4..26640bc40b 100644
--- a/fpdfsdk/src/javascript/PublicMethods.h
+++ b/fpdfsdk/src/javascript/PublicMethods.h
@@ -144,18 +144,9 @@ class CJS_PublicMethods : public CJS_Object {
bool* bWrongFormat);
static CFX_WideString MakeFormatDate(double dDate,
const CFX_WideString& format);
- static FX_BOOL ConvertStringToNumber(const FX_WCHAR* swSource,
- double& dRet,
- FX_BOOL& bDot);
- static double ParseStringToNumber(const FX_WCHAR* swSource);
static double ParseNormalDate(const CFX_WideString& value,
bool* bWrongFormat);
static double MakeInterDate(CFX_WideString strValue);
- static double ParseNumber(const FX_WCHAR* swSource,
- FX_BOOL& bAllDigits,
- FX_BOOL& bDot,
- FX_BOOL& bSign,
- FX_BOOL& bKXJS);
public:
static CFX_WideString StrLTrim(const FX_WCHAR* pStr);