https://issues.apache.org/ooo/show_bug.cgi?id=122681

            Bug ID: 122681
        Issue Type: DEFECT
           Summary: writer crashes if user has non-administrative rights
           Product: Writer
           Version: pre AOO 3.4.0
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: open-import
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

In openoffice 3.2.1 the following macro crashes the writer application :
(we can't use openofice 3.4.1 because of bug 122450)

Sub   inserisciCodificati

   REM Dim InputVal As String
   Dim Fcodif   As String
   Dim Doc    As Object
   Dim Cursor   As Object
   Dim Valori(1) as  new com.sun.star.beans.PropertyValue
   Dim oDocument As Object
   Dim oText As Object
   Dim oViewCursor As Object
   Dim oTextCursor As Object   

   Fcodif   = "ftp://[email protected]/codificati/"+Fcodi+".sxw";   

   oDocument = ThisComponent
   oText = oDocument.Text
   oViewCursor = oDocument.CurrentController.getViewCursor()
   oTextCursor = oText.createTextCursorByRange(oViewCursor.getStart())   
   oTextCursor.insertDocumentFromURL(Fcodif,Valori())

End Sub

This happens only if the user has non-administrative rights, otherwise it will
works without problems

The error that we get is :

OpenOffice.org 3.2 stopped working 

d76a2431c258096eaf0ffdf0330d40f8event name : BEX
appl. name : soffice.bin
version : 3.2.9498.500
timestamp : 4bf4c207
name of the module with errors : MSVCR90.dll
version of the module with errors : 9.0.30729.4940
timestamp : 4ca2ef57
exception offset : 0002fc96
exception code : c0000417
exception offset : 0002fc96
exception code : c0000417
exception data : 00000000
so version : 6.1.7601.2.1.0.256.48
local settings id : 1040
add. information 1 : 09c5
add. information 2 : 09c5c5290e5ed5f874b455ad0e66c94d 
add. information 3 : d76a
add. information 4 : d76a2431c258096eaf0ffdf0330d40f8

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to