To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63967
                  Issue #:|63967
                  Summary:|Use a scope guard for Lock() call in
                          |SfxObjectShell::SaveTo_Impl()
                Component:|Presentation
                  Version:|1.0.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|save-export
              Assigned to:|mav
              Reported by:|cl





------- Additional comments from [EMAIL PROTECTED] Tue Apr  4 06:03:16 -0700 
2006 -------
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

SfxObjectShell::SaveTo_Impl()

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.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to