...and ignore DisposedException from multiple Frame::close

...follow-up to d2a59bb53a "Avoid deadlock when
two threads call into Frame::close"

Change-Id: I26fae3fffce683888805efcc450065c3737ec3c5
This commit is contained in:
Stephan Bergmann
2016-04-06 12:54:18 +02:00
parent d2a59bb53a
commit 2a0d0e7e99

View File

@@ -261,6 +261,9 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq )
xTask->close(sal_True);
bClosed = true;
}
catch (css::lang::DisposedException &) {
// already closed; ignore
}
catch( CloseVetoException& )
{
bClosed = false;