summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_expression.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-01 15:31:40 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-01 15:31:40 -0700
commit4af5fd19d4101079d5a47412e07a5daaf3dade6e (patch)
tree94493ab11afc0ed1a16dd753db27e436f1a0069e /xfa/fxfa/fm2js/xfa_expression.cpp
parent23863e4c86a99381c1bd83e76c9055b10a8bf6c4 (diff)
downloadpdfium-4af5fd19d4101079d5a47412e07a5daaf3dade6e.tar.xz
Remove CFX_ string type static initializers.
In XFA, we were constructing some CFX_ string types before we reached main(). Setting breakpoints on these as well as main() shows we hit main first after applying the patch. Doing so also turned up an unused variable, presumably because the static initializer made it appear used. Review URL: https://codereview.chromium.org/1846353002
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_expression.cpp')
-rw-r--r--xfa/fxfa/fm2js/xfa_expression.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/fm2js/xfa_expression.cpp b/xfa/fxfa/fm2js/xfa_expression.cpp
index 0166fa609f..be9fb09c0d 100644
--- a/xfa/fxfa/fm2js/xfa_expression.cpp
+++ b/xfa/fxfa/fm2js/xfa_expression.cpp
@@ -10,11 +10,11 @@
namespace {
-const CFX_WideStringC RUNTIMEBLOCKTEMPARRAY =
- FX_WSTRC(L"foxit_xfa_formcalc_runtime_block_temp_array");
+const FX_WCHAR RUNTIMEBLOCKTEMPARRAY[] =
+ L"foxit_xfa_formcalc_runtime_block_temp_array";
-const CFX_WideStringC RUNTIMEBLOCKTEMPARRAYINDEX =
- FX_WSTRC(L"foxit_xfa_formcalc_runtime_block_temp_array_index");
+const FX_WCHAR RUNTIMEBLOCKTEMPARRAYINDEX[] =
+ L"foxit_xfa_formcalc_runtime_block_temp_array_index";
} // namespace