Index: xfa/fde/css/fde_cssstylesheet.cpp |
diff --git a/xfa/fde/css/fde_cssstylesheet.cpp b/xfa/fde/css/fde_cssstylesheet.cpp |
index 3da7cf41d5676006e2a4b217cedf970e556c307a..4afb0cee6352e44cd3759afbb2515a9824840ae4 100644 |
--- a/xfa/fde/css/fde_cssstylesheet.cpp |
+++ b/xfa/fde/css/fde_cssstylesheet.cpp |
@@ -264,8 +264,9 @@ FDE_CSSSYNTAXSTATUS CFDE_CSSStyleSheet::LoadStyleRule( |
} else if (iValueLen > 0) { |
pszValue = pSyntax->GetCurrentString(iValueLen); |
if (iValueLen > 0) { |
- pStyleRule->GetDeclImp().AddProperty( |
- &propertyArgs, wsName, wsName.GetLength(), pszValue, iValueLen); |
+ pStyleRule->GetDeclImp().AddProperty(&propertyArgs, wsName.c_str(), |
+ wsName.GetLength(), pszValue, |
+ iValueLen); |
} |
} |
break; |