mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 09:24:40 +08:00
for bug #63199
This commit is contained in:
@ -43,12 +43,12 @@ namespace DocFileFormat
|
||||
|
||||
PropertyExceptions::PropertyExceptions() : grpprl(NULL)
|
||||
{
|
||||
grpprl = new std::list<SinglePropertyModifier>();
|
||||
grpprl = new std::vector<SinglePropertyModifier>();
|
||||
}
|
||||
|
||||
PropertyExceptions::PropertyExceptions( const std::list<SinglePropertyModifier>& _grpprl ) : grpprl(NULL)
|
||||
PropertyExceptions::PropertyExceptions( const std::vector<SinglePropertyModifier>& _grpprl ) : grpprl(NULL)
|
||||
{
|
||||
grpprl = new std::list<SinglePropertyModifier>( _grpprl );
|
||||
grpprl = new std::vector<SinglePropertyModifier>( _grpprl );
|
||||
}
|
||||
|
||||
PropertyExceptions::PropertyExceptions( unsigned char* bytes, int size, int nWordVersion ) : grpprl(NULL)
|
||||
@ -62,7 +62,7 @@ namespace DocFileFormat
|
||||
{
|
||||
RELEASEOBJECT( grpprl );
|
||||
|
||||
grpprl = new std::list<SinglePropertyModifier>();
|
||||
grpprl = new std::vector<SinglePropertyModifier>();
|
||||
|
||||
if ( ( bytes == NULL ) || ( size == 0 ) ) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user