To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98508


User af changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Tue Jan 27 09:26:38 +0000 
2009 -------
Regression of my fix for for issue i97634.  The new code does the right thing
but does not take into account the convoluted ways of the old code.
The problem here is that a ViewShell pointer is used to get the current page
kind and edit mode, values provided only by the DrawViewShell super class.  The
old code did a static cast of the current shell to DrawViewShell.  It did that
even for OutlineViewShell objects which are also derived from ViewShell but not
related to DrawViewShell and do not have page kind nor edit mode attributes. 
The illegally obtained and invalid values did not seem to matter much in the
following search.
The fixed code does a dynamic_pointer_cast which yields NULL when casting
OutlineViewShell to DrawViewShell.  Unguarded access leads to the crash.

Looks like I have to do some further cleaning up to do. 

---------------------------------------------------------------------
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