| Index: xfa/fde/css/fde_cssstylesheet.cpp
|
| diff --git a/xfa/fde/css/fde_cssstylesheet.cpp b/xfa/fde/css/fde_cssstylesheet.cpp
|
| index 4afb0cee6352e44cd3759afbb2515a9824840ae4..fa545a0062234ef49826e163808bfa326cfbbd70 100644
|
| --- a/xfa/fde/css/fde_cssstylesheet.cpp
|
| +++ b/xfa/fde/css/fde_cssstylesheet.cpp
|
| @@ -196,7 +196,7 @@ FDE_CSSSYNTAXSTATUS CFDE_CSSStyleSheet::LoadMediaRule(
|
| int32_t iLen;
|
| const FX_WCHAR* psz = pSyntax->GetCurrentString(iLen);
|
| FDE_LPCCSSMEDIATYPETABLE pMediaType =
|
| - FDE_GetCSSMediaTypeByName(psz, iLen);
|
| + FDE_GetCSSMediaTypeByName(CFX_WideStringC(psz, iLen));
|
| if (pMediaType != NULL) {
|
| dwMediaList |= pMediaType->wValue;
|
| }
|
| @@ -249,7 +249,8 @@ FDE_CSSSYNTAXSTATUS CFDE_CSSStyleSheet::LoadStyleRule(
|
| } break;
|
| case FDE_CSSSYNTAXSTATUS_PropertyName:
|
| pszValue = pSyntax->GetCurrentString(iValueLen);
|
| - propertyArgs.pProperty = FDE_GetCSSPropertyByName(pszValue, iValueLen);
|
| + propertyArgs.pProperty =
|
| + FDE_GetCSSPropertyByName(CFX_WideStringC(pszValue, iValueLen));
|
| if (propertyArgs.pProperty == NULL) {
|
| wsName = CFX_WideStringC(pszValue, iValueLen);
|
| }
|
| @@ -305,7 +306,8 @@ FDE_CSSSYNTAXSTATUS CFDE_CSSStyleSheet::LoadFontFaceRule(
|
| switch (pSyntax->DoSyntaxParse()) {
|
| case FDE_CSSSYNTAXSTATUS_PropertyName:
|
| pszValue = pSyntax->GetCurrentString(iValueLen);
|
| - propertyArgs.pProperty = FDE_GetCSSPropertyByName(pszValue, iValueLen);
|
| + propertyArgs.pProperty =
|
| + FDE_GetCSSPropertyByName(CFX_WideStringC(pszValue, iValueLen));
|
| break;
|
| case FDE_CSSSYNTAXSTATUS_PropertyValue:
|
| if (propertyArgs.pProperty != NULL) {
|
|
|