summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/report.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/report.cpp')
-rw-r--r--fpdfsdk/javascript/report.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/report.cpp b/fpdfsdk/javascript/report.cpp
index f52ffc5201..3e18cb8909 100644
--- a/fpdfsdk/javascript/report.cpp
+++ b/fpdfsdk/javascript/report.cpp
@@ -12,9 +12,9 @@
#include "fpdfsdk/javascript/JS_Object.h"
#include "fpdfsdk/javascript/JS_Value.h"
-JSMethodSpec CJS_Report::MethodSpecs[] = {{"save", save_static},
- {"writeText", writeText_static},
- {0, 0}};
+const JSMethodSpec CJS_Report::MethodSpecs[] = {{"save", save_static},
+ {"writeText", writeText_static},
+ {0, 0}};
int CJS_Report::ObjDefnID = -1;