Issue 97301

Summary: arithmetic progression problem make OOo crashed after Merging Cells and Split Cells with the adjacent column
Product: Draw Reporter: amy2008 <amy2008>
Component: codeAssignee: clippka
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P2 CC: issues, ooo.redflag, peter.junge
Version: DEV300m37   
Target Milestone: OOo 3.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 84292    
Description Flags
Step4:three-cells-select-cells-before-split-cells none

Description amy2008 2008-12-16 08:48:58 UTC
Can reproduce it in Drawing and Impress with DEV300m37 on WinXP and Ubuntu

How to reproduce it 
1 Create a new Drawing (or Impress, it's up to you) document
2 Insert - table, 'Insert Table' dialog appears, set 'Number of column' and
  'Number of rows', e.g. 5columns * 12rows, OK
3 Select 3 row cells from the last row/line at one or more continual columns
  in the table, hit 'Merge Cells' on Table bar.
4 Select the merged cell formed at step3, meanwhile from the one or more
  continual columns which are next to the merged cell formed at step3, select
  3 cells from the last row/line, hit 'Split Cells' on Table bar, click 'OK'

OOo crashes

OOo works well

It's an arithmetic progression problem, I think.
supposed that there is a table with m rows and n columns, the number of cells
to make merge cells is x. Now, there are the rules for this issue
if x = 3, just select cells from n to n-2
if x = 4, just select cells from n to n-3 or n-1 to n-4
if x = 5, just select cells from n to n-4, n-1 to n-5 or n-2 to n-6

If my description is not clear, feel free to ask me anything anytime.

Li Meiying
Comment 1 wolframgarten 2008-12-16 09:09:11 UTC
Would it be possible to add screenshots to each step again? This helps very
much. Thanks in advance.
Comment 2 amy2008 2008-12-16 09:30:54 UTC
Created attachment 58845 [details]
Comment 3 amy2008 2008-12-16 09:31:28 UTC
Created attachment 58846 [details]
Comment 4 wolframgarten 2008-12-16 10:50:14 UTC
Thanks, reproducible with your help.
Comment 5 wolframgarten 2008-12-16 11:19:29 UTC
The ID of the error report is rcjbwuc.
Comment 6 amy2008 2008-12-17 01:13:58 UTC
Meiying to Wolfram,
You're welcome,O(∩_∩)O~
Comment 7 clippka 2009-10-12 17:31:35 UTC
this issue is duplicate and has been fixed for some time now. I can't remember
the original issue number but I checked in dev300m60 and the issue is not
Comment 8 clippka 2009-10-12 17:32:07 UTC