mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-10 16:37:44 +08:00
fix bug #81040
This commit is contained in:
@ -2544,7 +2544,7 @@ void XlsConverter::convert(XLS::Obj * obj)
|
||||
std::wstring objectId_bin = xlsx_context->get_mediaitems().add_control_activeX(target_bin);
|
||||
|
||||
NSFile::CFileBinary file;
|
||||
if(xls_global_info->controls_data.second >= obj->pictFmla.lPosInCtlStm + obj->pictFmla.cbBufInCtlStm)
|
||||
if (obj->pictFmla.lPosInCtlStm <= xls_global_info->controls_data.second && obj->pictFmla.cbBufInCtlStm <= xls_global_info->controls_data.second - obj->pictFmla.lPosInCtlStm)
|
||||
{
|
||||
if ( file.CreateFileW(xlsx_context->get_mediaitems().activeX_path() + target_bin) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user