diff options
Diffstat (limited to 'xfa/src/fxfa/src/fm2js/xfa_error.cpp')
-rw-r--r-- | xfa/src/fxfa/src/fm2js/xfa_error.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/src/fxfa/src/fm2js/xfa_error.cpp b/xfa/src/fxfa/src/fm2js/xfa_error.cpp index 6d5f253e5a..ec6e69590a 100644 --- a/xfa/src/fxfa/src/fm2js/xfa_error.cpp +++ b/xfa/src/fxfa/src/fm2js/xfa_error.cpp @@ -6,20 +6,20 @@ #include "xfa_fm2js.h"
static FX_LPCWSTR gs_lpStrErrorMsgInfo[] = {
- (FX_LPCWSTR)(L"unsupported char '%c'"),
- (FX_LPCWSTR)(L"bad suffix on number"),
- (FX_LPCWSTR)(L"invalidate char '%c'"),
- (FX_LPCWSTR)(L"expected identifier instead of '%s'"),
- (FX_LPCWSTR)(L"expected '%s' instead of '%s'"),
- (FX_LPCWSTR)(L"expected 'endif' instead of '%s'"),
- (FX_LPCWSTR)(L"unexpected expression '%s'"),
- (FX_LPCWSTR)(L"expected operator '%s' instead of '%s'"),
+ L"unsupported char '%c'",
+ L"bad suffix on number",
+ L"invalidate char '%c'",
+ L"expected identifier instead of '%s'",
+ L"expected '%s' instead of '%s'",
+ L"expected 'endif' instead of '%s'",
+ L"unexpected expression '%s'",
+ L"expected operator '%s' instead of '%s'",
};
FX_LPCWSTR XFA_FM_ErrorMsg(XFA_FM_ERRMSG msg)
{
if(msg < FMERR_MAXIMUM) {
return gs_lpStrErrorMsgInfo[msg];
} else {
- return (FX_LPCWSTR)(L"");
+ return L"";
}
}
|