Issue 81243 - Crash when deleting Chart and table in document
Summary: Crash when deleting Chart and table in document
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOG680_m2
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
Keywords: oooqa, regression
Depends on:
Blocks: 80294
  Show dependency tree
Reported: 2007-09-03 23:46 UTC by mike_hall
Modified: 2013-08-07 14:42 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description mike_hall 2007-09-03 23:46:02 UTC
File > New
Insert > Table (eg 3 x 4)
put some values in table
Select table
Insert > Object > Chart
Return to Writer
Ctrl + A (Select All)
Delete   -> crash and no crash report generated. 
On recovery, an empty document is recovered.

See for a similar bug
that was fixed.

Regression - works in 2.2.1 (have to select all manually)

Error found in OOG680_m3 (Pavel's build) - version not yet selectable
Comment 1 michael.ruess 2007-09-04 08:57:20 UTC
MRU->AMA: as shown, insert a table and a chart into document, select all, delete
-> crash
Comment 2 andreas.martens 2007-09-04 10:52:01 UTC
->TL: Crash in GetCellNameRange(..) in unochart.cxx when the Uno table cursor
does not point into a table anymore. pStart becomes NULL => crash.
Comment 3 thomas.lange 2007-09-04 11:09:17 UTC
Comment 4 thomas.lange 2007-09-04 11:10:18 UTC
Fixed in CWS tl46.

Files changed:
- unochart.cxx

TL->mike_hall: Thanks for finding this one!
Comment 5 thomas.lange 2007-09-04 13:14:35 UTC
Comment 6 michael.ruess 2007-09-05 08:35:02 UTC
Verified fix in CWS tl46.
Comment 7 michael.ruess 2007-09-06 12:48:58 UTC
Checked fix in OOG680m4.