Index: xfa/fxfa/parser/xfa_locale.cpp |
diff --git a/xfa/fxfa/parser/xfa_locale.cpp b/xfa/fxfa/parser/xfa_locale.cpp |
index ff0371bc88d6e9849213d6558eec95a4501e5d28..7883856b676027e74f0ca39fd1e9f8b6bb01417c 100644 |
--- a/xfa/fxfa/parser/xfa_locale.cpp |
+++ b/xfa/fxfa/parser/xfa_locale.cpp |
@@ -226,7 +226,8 @@ void CXFA_NodeLocale::Release() { |
delete this; |
} |
CFX_WideString CXFA_NodeLocale::GetName() { |
- return m_pLocale ? m_pLocale->GetCData(XFA_ATTRIBUTE_Name) : NULL; |
+ return CFX_WideString(m_pLocale ? m_pLocale->GetCData(XFA_ATTRIBUTE_Name) |
+ : nullptr); |
} |
void CXFA_NodeLocale::GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, |
CFX_WideString& wsNumSymbol) const { |