mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
OdfFormatReader - convert table content to sdt table content
This commit is contained in:
@ -146,7 +146,8 @@ namespace NSUnicodeConverter
|
||||
{
|
||||
int32_t nUCharCapacity = (int32_t)nInputLen;// UTF-16 uses 2 code-points per char
|
||||
|
||||
UChar* pUChar = new UChar[nUCharCapacity * sizeof(UChar)];
|
||||
//UChar* pUChar = new UChar[nUCharCapacity];
|
||||
UChar* pUChar = (UChar*)malloc(nUCharCapacity * sizeof(UChar));
|
||||
if (pUChar)
|
||||
{
|
||||
const UChar* pUCharStart = pUChar;
|
||||
@ -171,7 +172,7 @@ namespace NSUnicodeConverter
|
||||
sRes.clear();
|
||||
}
|
||||
}
|
||||
delete []pUCharStart;
|
||||
//delete []pUCharStart;
|
||||
}
|
||||
ucnv_close(conv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user