Issue 18148

Summary: The included code will cause a crash of OOo under several conditions
Product: Calc Reporter: Unknown <non-migrated>
Component: codeAssignee: oc
Status: CLOSED DUPLICATE QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 RC2Keywords: crash, oooqa
Target Milestone: ---   
Hardware: Other   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

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