Issue 50046 - Office crashes if try to dispatch a basic macro with parameters
Summary: Office crashes if try to dispatch a basic macro with parameters
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P2 Trivial
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@api
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2005-05-30 14:32 UTC by lars.langhans
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

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


Attachments
OOo Document which contain a simple basic macro (7.20 KB, application/vnd.oasis.opendocument.text)
2005-05-30 14:36 UTC, lars.langhans
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description lars.langhans 2005-05-30 14:32:46 UTC
See the attached basic macro in odt document. The first dispatch call works very
well, but the second let the office crash. the different is simply a double
quote around the string parameter.
Comment 1 lars.langhans 2005-05-30 14:36:58 UTC
Created attachment 26687 [details]
OOo Document which contain a simple basic macro
Comment 2 christianjunker 2005-07-20 16:22:19 UTC
confirmed. accepted.
Comment 3 utomo99 2006-10-29 07:40:49 UTC
is this issue still exist on OOo 2.X ? 
Ooo 2.0.4 already exist and available to download at www.openoffice.org or 
http://download.openoffice.org/2.0.4/index.html

Thanks
Comment 4 Mathias_Bauer 2006-10-30 16:42:03 UTC
Doesn't crash for me in 2.0.4. Back to submitter for verification
Comment 5 kai.sommerfeld 2007-02-09 12:36:29 UTC
Still crashes in OOF680 m6, Linux (at least).
Comment 6 ab 2007-02-15 16:15:35 UTC
ab->mba: To you, as it crashes in appuno.cxx owned by you.

Problem is in line 1866: SbxVariable* pRet = pMethod->GetParent()->Execute( aCall );
Execute does not always return a value != NULL. I haven't checked in detail why it
fails here but I think it's more save to let the code in appuno.cxx survice a
return value
== NULL then to change the behaviour of SbxObject:: Execute(). What do you think?
Comment 7 Mathias_Bauer 2007-02-15 16:38:50 UTC
Yes, that sounds reasonable
Comment 8 Mathias_Bauer 2007-02-16 09:14:56 UTC
Fixed in CWS mba23issues01
Comment 9 Mathias_Bauer 2007-06-01 16:19:32 UTC
please verify
Comment 10 joerg.skottke 2007-06-21 09:45:40 UTC
CWS is now 'basemodelrefactoring'
Comment 11 joerg.skottke 2007-06-21 09:47:07 UTC
No crash, get messageboxes instead. Looks ok for me. Verified.
Comment 12 joerg.skottke 2007-10-31 09:33:02 UTC
Closed, good in OOG680m7