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


User cl changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
                Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Jul 27 06:38:05 -0700 
2005 -------
fixed,

the problem was the copy ctor of the SdrPage. It called it's assignment
operator. That caused later reformating of the text objects (which is an error
in itself) which led to a call to the CalcFieldValueHdl of SdMod because of the
header and footer shapes.
At this point, the SdPage ctor of the SdrPage was not yet called, so a 

SdPage * pPage = (SdPage*) pSdrPage;

in sd/source/ui/app/sdmod2.cxx returned an invalid SdPage.

I fixed this issue by using dynamic_cast<SdPage*> in the handler.

After fixing the crash there surfaced another issue. The given bugdoc has a
different slide size as the default on my system would be. When copy'n'paste of
slides in the slidesorter the notification dialog for pasting slides with
different size came up. This was nonsens since I copied the slides from the same
document, so they must have the same size anyway.

The problem was our way of creating the bookmark document for the 
SdTransferable.
First the slidesorter created a new model by calling GetAllMarkedModel which
made no sense since in slide view no shapes are marked. I replaced that with a
call to SdDrawDocument::AllocModel.
Then I added an optional SdDrawDocument pointer to the CreateFirstSlides()
method. If given, the first slides where created with size and border from the
reference document. This allowed me to create a clipboard model that had the
same page size as the source document.

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