mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 03:33:06 +08:00
@ -54,11 +54,11 @@ namespace DocFileFormat
|
||||
//It's a real string table
|
||||
if (reader->nWordVersion > 0)
|
||||
{
|
||||
FormatUtils::GetSTLCollectionFromBytes<WideString>( newObject, bytes, length, ENCODING_WINDOWS_1250 );
|
||||
FormatUtils::GetWStringFromBytes( *newObject, bytes, length, ENCODING_WINDOWS_1250 );
|
||||
}
|
||||
else
|
||||
{
|
||||
FormatUtils::GetSTLCollectionFromBytes<WideString>( newObject, bytes, length, ENCODING_UTF16 );
|
||||
FormatUtils::GetWStringFromBytes( *newObject, bytes, length, ENCODING_UTF16 );
|
||||
}
|
||||
RELEASEARRAYOBJECTS( bytes );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user