Index: xfa/fxfa/app/xfa_textlayout.cpp |
diff --git a/xfa/fxfa/app/xfa_textlayout.cpp b/xfa/fxfa/app/xfa_textlayout.cpp |
index 80342a383ebb44b05a08a3a8bc927e6305935ec3..532d6f54ce4b32777b15ed9e1f2b89fed93521e2 100644 |
--- a/xfa/fxfa/app/xfa_textlayout.cpp |
+++ b/xfa/fxfa/app/xfa_textlayout.cpp |
@@ -37,8 +37,8 @@ void CXFA_CSSTagProvider::GetNextAttribute(FX_POSITION& pos, |
CFX_WideString* pName = NULL; |
CFX_WideString* pValue = NULL; |
m_Attributes.GetNextAssoc(pos, (void*&)pName, (void*&)pValue); |
- wsAttr = *pName; |
- wsValue = *pValue; |
+ wsAttr = pName->AsStringC(); |
+ wsValue = pValue->AsStringC(); |
} |
void CXFA_CSSTagProvider::SetAttribute(const CFX_WideString& wsAttr, |
const CFX_WideString& wsValue) { |