Issue 18833 - OOo crash when calling startRangeSelection() method
Summary: OOo crash when calling startRangeSelection() method
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
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-29 23:29 UTC by paolomantovani
Modified: 2013-02-24 21:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description paolomantovani 2003-08-29 23:29:57 UTC
When I run this code from the OOBasic IDE it causes OOo to crash. 
Running the macro from the (calc) document, all works properly. 
 
 
REM  *****  BASIC  ***** 
 
Sub TestRangeSelection 
oDocView = ThisComponent.currentController 
 
Dim mArgs(2) As New com.sun.star.beans.PropertyValue 
 
	mArgs(0).Name = InitialValue 
	mArgs(0).Value = "A1" 
	mArgs(1).Name = "Title" 
	mArgs(1).Value = "My Title" 
	mArgs(2).Name = "CloseOnMouseRelease" 
	mArgs(2).Value = False 
 
	oDocView.startRangeSelection(mArgs()) 
 
End Sub
Comment 1 ooo 2003-09-02 08:11:00 UTC
Obviously the implementation does expect a Calc document to be active
when this method is executed.  This is of course a false assumption. 
Forwarding to Calc team.
Comment 2 Stephan Bergmann 2003-09-02 08:19:44 UTC
... but I am not the Calc team :)
Comment 3 Stephan Bergmann 2003-09-02 08:20:22 UTC
.
Comment 4 sascha.ballach 2003-10-08 14:29:24 UTC
i take it
Comment 5 niklas.nebel 2004-09-28 18:31:27 UTC
This is fixed together with issue 34499.
Comment 6 niklas.nebel 2004-09-28 18:34:22 UTC
Fixed on CWS "calc23". Changed:
tabvwsh4.cxx 1.42.38.1
reffact.cxx 1.3.626.1
Comment 7 niklas.nebel 2004-10-12 12:45:44 UTC
reopening to reassign
Comment 8 niklas.nebel 2004-10-12 12:46:26 UTC
reassigning for verification (see also issue 34499).
Comment 9 stephan.wunderlich 2004-10-15 12:26:49 UTC
fixed in cws_calc23
Comment 10 stephan.wunderlich 2004-10-15 12:27:22 UTC
no crash in cws_calc23 => verified
Comment 11 stephan.wunderlich 2004-11-15 12:29:11 UTC
ok in src680_m62 => closed