summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-25 12:39:15 -0800
committerLei Zhang <thestig@chromium.org>2016-02-25 12:39:15 -0800
commit4467dea020b2c19588cc06ce1ece46cd99f3c7df (patch)
treee96a26e6bef14ba081bd1658ef7f3f171a20218f /fpdfsdk/src
parent3a479763796edeb8cf5acc8735a16878ad6bfeb9 (diff)
downloadpdfium-4467dea020b2c19588cc06ce1ece46cd99f3c7df.tar.xz
Rename some functions that start with underscore.
Fix misc issues along the way. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1739623002 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fsdk_baseannot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fsdk_baseannot.cpp b/fpdfsdk/src/fsdk_baseannot.cpp
index 2495897408..79418d972e 100644
--- a/fpdfsdk/src/fsdk_baseannot.cpp
+++ b/fpdfsdk/src/fsdk_baseannot.cpp
@@ -15,7 +15,7 @@
#include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h"
#endif // PDF_ENABLE_XFA
-int _gAfxGetTimeZoneInSeconds(FX_CHAR tzhour, uint8_t tzminute) {
+int gAfxGetTimeZoneInSeconds(int8_t tzhour, uint8_t tzminute) {
return (int)tzhour * 3600 + (int)tzminute * (tzhour >= 0 ? 60 : -60);
}
@@ -404,7 +404,7 @@ void CPDFSDK_DateTime::ToSystemTime(FX_SYSTEMTIME& st) {
CPDFSDK_DateTime CPDFSDK_DateTime::ToGMT() {
CPDFSDK_DateTime dt = *this;
- dt.AddSeconds(-_gAfxGetTimeZoneInSeconds(dt.dt.tzHour, dt.dt.tzMinute));
+ dt.AddSeconds(-gAfxGetTimeZoneInSeconds(dt.dt.tzHour, dt.dt.tzMinute));
dt.dt.tzHour = 0;
dt.dt.tzMinute = 0;
return dt;