Index: xfa/fde/css/fde_cssstyleselector.cpp |
diff --git a/xfa/fde/css/fde_cssstyleselector.cpp b/xfa/fde/css/fde_cssstyleselector.cpp |
index d93a756b3b2d3b9daf8845fe7dcf95e4f97954bb..60283a66281f33a026075d2922784e2c7d5a7cd8 100644 |
--- a/xfa/fde/css/fde_cssstyleselector.cpp |
+++ b/xfa/fde/css/fde_cssstyleselector.cpp |
@@ -570,7 +570,8 @@ void CFDE_CSSStyleSelector::AppendInlineStyle(CFDE_CSSDeclaration* pDecl, |
} else if (iLen > 0) { |
psz = pSyntax->GetCurrentString(iLen); |
if (iLen > 0) { |
- pDecl->AddProperty(&args, wsName, wsName.GetLength(), psz, iLen); |
+ pDecl->AddProperty(&args, wsName.c_str(), wsName.GetLength(), psz, |
+ iLen); |
} |
} |
} else { |