To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70064
                 Issue #|70064
                 Summary|crash on format->alignment and moving outside cell
               Component|Spreadsheet
                 Version|OOo 2.0.4
                Platform|Opteron/x86_64
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|spreadsheet
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Tue Oct  3 05:04:17 -0700 
2006 -------
1. Take the attached .ods and load
2. triple click on cell B1, i.e. select the text of the full name in that cell
3. Format->Alignment->Center
4. Click in another cell

Crash with stacktrace like ...
0x17be2ecb: /usr/lib64/openoffice.org2.0/program/libsc680lx.so + 0x5e2ecb
(ScPatternAttr::GetNumberFormat(SvNumberFormatter*) const + 0x2b)
0x1780c50b: /usr/lib64/openoffice.org2.0/program/libsc680lx.so + 0x20c50b
0x178656c2: /usr/lib64/openoffice.org2.0/program/libsc680lx.so + 0x2656c2
0x178e5953: /usr/lib64/openoffice.org2.0/program/libsc680lx.so + 0x2e5953
0x178e6aec: /usr/lib64/openoffice.org2.0/program/libsc680lx.so + 0x2e6aec
0xe84d35c: /usr/lib64/openoffice.org2.0/program/libvcl680lx.so + 0x24d35c
(SelectionEngine::SelMouseButtonDown(MouseEvent const&) + 0x1cc)

The problem is that setting the alignment deletes the ScPatternAttr (in
ScColumn::ApplyPattern through pAttrArray->SetPattern) which the inputhdl has a
pLastPattern pointer to. so later the inputhdl uses the invalid pointer.

Attached is a patch which avoids the crash, though more from illustrative
purposes than a "patch" to fix

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