mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Merge tag 'v4.2.3' into develop
v4.2.3 v4.2.3
This commit is contained in:
@ -529,10 +529,11 @@ namespace NSDoctRenderer
|
||||
if (js_func_get_file_s->IsFunction())
|
||||
{
|
||||
v8::Handle<v8::Function> func_get_file_s = v8::Handle<v8::Function>::Cast(js_func_get_file_s);
|
||||
int nArgument = pParams->m_nSaveToPDFParams;
|
||||
if (pParams->m_bIsOnlyOnePage)
|
||||
args[0] = v8::Int32::New(isolate, pParams->m_nSaveToPDFParams);
|
||||
else
|
||||
args[0] = v8::Int32::New(isolate, 0x0100);
|
||||
nArgument |= 0x0100;
|
||||
args[0] = v8::Int32::New(isolate, nArgument);
|
||||
|
||||
v8::Local<v8::Value> js_result2 = func_get_file_s->Call(global_js, 1, args);
|
||||
|
||||
if (try_catch.HasCaught())
|
||||
|
||||
Reference in New Issue
Block a user