mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
@ -653,7 +653,7 @@ public:
|
||||
break;
|
||||
}
|
||||
|
||||
CEditorTools::print({m_panel->cef(), pContext, &page_ranges, window->handle()});
|
||||
CEditorTools::print({m_panel->cef(), pContext, &page_ranges, parent});
|
||||
}
|
||||
|
||||
pContext->Release();
|
||||
|
||||
@ -1232,7 +1232,7 @@ void CMainWindow::onDocumentPrint(void * opts)
|
||||
break;
|
||||
}
|
||||
|
||||
CEditorTools::print({pView, pContext, &page_ranges, this});
|
||||
CEditorTools::print({pView, pContext, &page_ranges, parent});
|
||||
}
|
||||
|
||||
pContext->Release();
|
||||
|
||||
Reference in New Issue
Block a user