Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | ooimpress crash: opening second option of presentation template in the first page of the wizard crash ooimpress. | ||
---|---|---|---|
Product: | Impress | Reporter: | jery_wang2002 <jery_wang2002> |
Component: | open-import | Assignee: | christian.guenther |
Status: | CLOSED DUPLICATE | QA Contact: | issues@graphics <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | caolanm, issues |
Version: | 680m127 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
jery_wang2002
2005-09-05 10:29:03 UTC
Reassigned. I find similar fix at: http://www.openoffice.org/nonav/issues/showattachment.cgi/23706/svx.casting.patch This applies to svx/source/unoedit/unotext2.cxx but I need to apply this type of casting to svx/source/unoedit/unotext.cxx Strange thing is, the above patch has been issued 11 March 2005, and I am building OOo m127 which is a snapshot on 31 August 2005 (http://ooo.ximian.com/packages/SRC680/). And the casting in svx/source/unoedit/unotext2.cxx still use old ones, i.e. not patched. Applied this kind of casting: - xParentText = (text::XText*)&rParent; + xParentText = const_cast<SvxUnoTextBase*>(&rParent); solve the problem what's your gcc version, I bet it's 4.0.X. The problem is thus likely http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23418 as workarounds there are patches #i44843#, #i44846# and #i45162#. But the problem is likely basically the compiler not OOo. Yes, you are right. I am compiling using gcc 4.0.1 release. Thanks. I think we can close this case and we should not patch OOo since the problem is not OOo. But it's good that other people who might have this problem can notice this issue and its solution. mark as duplicate *** This issue has been marked as a duplicate of 44846 *** close |