Issue 63967 - Use a scope guard for Lock() call in SfxObjectShell::SaveTo_Impl()
Summary: Use a scope guard for Lock() call in SfxObjectShell::SaveTo_Impl()
Alias: None
Product: Impress
Classification: Application
Component: save-export (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2006-04-04 14:03 UTC by clippka
Modified: 2017-05-20 11:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description clippka 2006-04-04 14:03:16 UTC
in issue 62198 we have a scenario where we crash during saving a document. But
on windows this crash is a c++ exception that is catched later so the office
continues to work. Only the saved document is useless because in


a call to SfxDispatcher::Lock( TRUE ) is not matched by a Lock( FALSE ) because
that c++ exception goes through that method.

MBA agreed that it would be a good thing to use something like a scope guard in
SaveTo_Impl() to guarantee that Lock(FALSE) will be called, even if an exception
is thrown.
Comment 1 mikhail.voytenko 2006-06-26 15:04:38 UTC
Changing the target.
Comment 2 Martin Hollmichel 2007-11-09 17:18:54 UTC
set target from 2.x to 3.x according to
Comment 3 Marcus 2017-05-20 11:08:22 UTC
Reset assigne to the default "".