Index: xfa/src/fgas/src/localization/fx_locale.cpp |
diff --git a/xfa/src/fgas/src/localization/fx_locale.cpp b/xfa/src/fgas/src/localization/fx_locale.cpp |
index 4b69a5bbed1a0e8442e52eb7b9a6868e4d51d2e7..072d351a3a2fde1907e932d22c5b42ec28685e1b 100644 |
--- a/xfa/src/fgas/src/localization/fx_locale.cpp |
+++ b/xfa/src/fgas/src/localization/fx_locale.cpp |
@@ -4828,11 +4828,11 @@ CFX_Decimal::CFX_Decimal(const CFX_WideStringC& strObj) { |
} |
m_uFlags = FXMATH_DECIMAL_MAKEFLAGS(negmet && IsNotZero(), scale); |
} |
+ |
CFX_Decimal::CFX_Decimal(const CFX_ByteStringC& strObj) { |
- CFX_WideString wstrObj; |
- wstrObj.ConvertFrom(strObj); |
- *this = CFX_Decimal(wstrObj); |
+ *this = CFX_Decimal(CFX_WideString::FromLocal(strObj)); |
} |
+ |
CFX_Decimal::operator CFX_WideString() const { |
CFX_WideString retString; |
CFX_WideString tmpbuf; |