Merge pull request #1215 from ONLYOFFICE/fix/bug-67667

Fix bug 67667
This commit is contained in:
Maxim Kadushkin
2024-05-14 15:08:46 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();