OdfFormatReader - convert table content to sdt table content

This commit is contained in:
ElenaSubbotina
2018-05-23 19:28:29 +03:00
parent 755119c825
commit e6039f7f6f
20 changed files with 383 additions and 300 deletions

View File

@ -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);
}