Issue 18148 - The included code will cause a crash of OOo under several conditions
Summary: The included code will cause a crash of OOo under several conditions
Status: CLOSED DUPLICATE of issue 17290
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2003-08-12 03:28 UTC by Unknown
Modified: 2003-09-08 16:55 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 Unknown 2003-08-12 03:28:30 UTC
I have Mandrake 9.0 and KDE 3.0.5 
 the following code will crash OOo RC2 in scalc, if after the module is 
 run ( it shows no errors and it does what it should) you attempt to do 
 a page preview or a page print. 
 
 David 
 
 Sub Main 
 Dim vSheet 
 Dim sGraphicURL As String 
 Dim sGraphicService As String 
 Dim oDrawPage As Object 
 Dim oGraphic As Object 
 dim TheSize as new com.sun.star.awt.Size 
 dim aPosition as new com.sun.star.awt.Point 
 dim GX as long, GY as long 
 GX = 15849 
 GY = 2000 
 vSheet = ThisComponent.Sheets(0) 
sGraphicURL="file:///usr/local/openoffice1.1RC/share/gallery/bullets/blkpearl.gif" 
sGraphicService =  "com.sun.star.drawing.GraphicObjectShape" 
 oDrawPage = vSheet.getDrawPage() 
 oGraphic = ThisComponent.createInstance(sGraphicService) 
 oGraphic.GraphicURL = sGraphicURL 
 oDrawPage.add(oGraphic) 
 TheSize.width=600 
 TheSize.height=600 
 oGraphic.setsize(TheSize) 
 aPosition.X = GX 
 aPosition.Y = GY 
 oGraphic.setposition(aPosition) 
 end sub
Comment 1 oc 2003-08-12 08:26:40 UTC
Duplicate to 17290

*** This issue has been marked as a duplicate of 17290 ***
Comment 2 oc 2003-08-12 08:26:58 UTC
closed because duplicate