To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=108278 Issue #|108278 Summary|OOO crash with calc2qif v1.03 macro + fix Component|framework Version|OOo 3.1.1 Platform|Unknown URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|2ben
------- Additional comments from [email protected] Wed Jan 13 08:52:33 +0000 2010 ------- The (admittedly) old macro calc2qif v1.03 used to work out of the box, but with ooo3.1 it appears that it doesn't, and leads to a general ooo crash: - select a range of cells - launch the macro - click browse to start the file picker - enter a file name and click OK - ooo crashes Debugging the macro shows that it crashes in sub ChooseQIF_Click() at line: sFiles = oFilePicker.getFiles() The fix is as follows: in REM file dialog 'oFilePicker = CreateUnoService( "com.sun.star.ui.dialogs.FilePicker" ) uncomment the second line then comment all of : Dim args(1) args(0) = 1 args(1) = 1 oServiceMgr = GetProcessServiceManager() oFilePicker = oServiceMgr.createInstanceWithArguments( "com.sun.star.ui.dialogs.FilePicker", args() ) restart the macro: it doesn't crash and works as expected. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
