Issue 58768 - crash after I cut the second master page in slide/notes master view
Summary: crash after I cut the second master page in slide/notes master view
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: programming (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 05:28 UTC by yolanda
Modified: 2013-08-07 15:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description yolanda 2005-12-02 05:28:57 UTC
1. create a new presentation document with only one page;
2. change to slide or notes master view;
3. add a new master page, then cut it, crash
Comment 1 wolframgarten 2005-12-02 08:26:38 UTC
Reproducible. Reassigned.
Comment 2 groucho266 2005-12-02 09:05:04 UTC
See issue 58769 for a similar and maybe related bug.
Comment 3 wolframgarten 2005-12-02 10:15:59 UTC
The ID of the error report is r57pr8.
Comment 4 groucho266 2005-12-08 10:33:16 UTC
This issue is related to issue 49761: Master pages are not supported by our
clipboard.  The clipboard does not know how to handle master pages.  When given
one, it handles it like a normal page.  In the example described above, there
are two master pages and one normal page.  When the second master page is cut
the clipboard tries to access the second normal page.  That does not exist. Crash.

The fix will be to disable cutting and copying master pages like pasting of
master pages was disabled for issue 49761.
Comment 5 groucho266 2005-12-08 10:52:52 UTC
Fixed by disabling the Cut clipboard operation for master pages.

Modified files:
/sd/source/ui/slidesorter/controller/SlsClipboard.cxx    rev. 1.16.46.1
/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx    rev. 1.20.72.1
Comment 6 groucho266 2006-01-10 10:03:16 UTC
Please verify.

re-open issue and reassign to wg@openoffice.org
Comment 7 groucho266 2006-01-10 10:03:25 UTC
reassign to wg@openoffice.org
Comment 8 groucho266 2006-01-10 10:03:32 UTC
reset resolution to FIXED
Comment 9 wolframgarten 2006-01-10 12:48:00 UTC
Verified in CWS.
Comment 10 wolframgarten 2006-01-25 16:02:25 UTC
Tested in m152. Closed.