Index: core/src/fxcrt/fx_basic_wstring.cpp |
diff --git a/core/src/fxcrt/fx_basic_wstring.cpp b/core/src/fxcrt/fx_basic_wstring.cpp |
index 3c54ca983e7d5f33010e80db88c6b37c52e92f2e..09e64e0c72c4b0fae978dd445be97a64c90fe392 100644 |
--- a/core/src/fxcrt/fx_basic_wstring.cpp |
+++ b/core/src/fxcrt/fx_basic_wstring.cpp |
@@ -34,9 +34,6 @@ CFX_WideString::StringData* CFX_WideString::StringData::Create(int nLen) |
FXSYS_assert(usableLen >= nLen); |
void* pData = FX_Alloc(FX_BYTE, iSize.ValueOrDie()); |
- if (!pData) { |
- return NULL; |
- } |
return new (pData) StringData(nLen, usableLen); |
} |
CFX_WideString::~CFX_WideString() |