ofz#63646 avoid Timeout when document fails to load
Change-Id: I84db71486c42b74bd2bf7ff2c5469938802ee113 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158592 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
2a302e143d
commit
7269df7482
1 changed files with 3 additions and 4 deletions
|
@ -1847,12 +1847,11 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestPDFExportFODT(SvStream &rStream)
|
|||
uno::Reference<document::XFilter> xFODTFilter(xInterface, uno::UNO_QUERY_THROW);
|
||||
bool ret = xFODTFilter->filter(aArgs);
|
||||
|
||||
css::uno::Reference<css::frame::XController2> xController(xModel->createDefaultViewController(xTargetFrame), UNO_SET_THROW);
|
||||
|
||||
utl::ConnectFrameControllerModel(xTargetFrame, xController, xModel);
|
||||
|
||||
if (ret)
|
||||
{
|
||||
css::uno::Reference<css::frame::XController2> xController(xModel->createDefaultViewController(xTargetFrame), UNO_SET_THROW);
|
||||
utl::ConnectFrameControllerModel(xTargetFrame, xController, xModel);
|
||||
|
||||
utl::TempFileNamed aTempFile;
|
||||
aTempFile.EnableKillingFile();
|
||||
|
||||
|
|
Loading…
Reference in a new issue