summaryrefslogtreecommitdiff
path: root/xfa/fde
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-04-06 12:50:33 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-06 12:50:33 -0700
commit98a689f63282cfcae1e70f9a1303e56c3b4ce13e (patch)
treebc9679c29bdeb11957571bd5baa39db480507729 /xfa/fde
parent86e5474dc4ff7fe0d0850f26f7320e1e57f3fd21 (diff)
downloadpdfium-98a689f63282cfcae1e70f9a1303e56c3b4ce13e.tar.xz
Make static FX_WCHAR arrays more const.
Review URL: https://codereview.chromium.org/1867463002
Diffstat (limited to 'xfa/fde')
-rw-r--r--xfa/fde/css/fde_cssstylesheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/css/fde_cssstylesheet.cpp b/xfa/fde/css/fde_cssstylesheet.cpp
index bc27545dca..3da7cf41d5 100644
--- a/xfa/fde/css/fde_cssstylesheet.cpp
+++ b/xfa/fde/css/fde_cssstylesheet.cpp
@@ -11,7 +11,7 @@
#include "xfa/fgas/crt/fgas_codepage.h"
IFDE_CSSStyleSheet* IFDE_CSSStyleSheet::LoadHTMLStandardStyleSheet() {
- static const FX_WCHAR* s_pStyle =
+ static const FX_WCHAR s_pStyle[] =
L"html,address,blockquote,body,dd,div,dl,dt,fieldset,form,frame,frameset,"
L"h1,h2,h3,h4,h5,h6,noframes,ol,p,ul,center,dir,hr,menu,pre{display:"
L"block}"