[script-issues] [Issue 96245] Openoffice.org crashes whe n pictures are removed from a Calc document wi th a macro.

2008-11-15 Thread tvataire
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96245
 Issue #|96245
 Summary|Openoffice.org crashes when pictures are removed from 
|a Calc document with a macro.
   Component|scripting
 Version|OOo 2.4.1
Platform|PC
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|kr
 Reported by|tvataire





--- Additional comments from [EMAIL PROTECTED] Sun Nov 16 00:53:07 + 
2008 ---
When I use the delete() method of a DrawPage object in a Calc document,
pictures of this document are  correctly removed.

But if just after I add a new picture in this document through the user
interface (Gallery or Insertion menu) then I run the macro a new time, OOo
crashes.


Here is the code that I use :

sub test()

   dim dPage as object
   
   dPage = thisComponent.sheets.getByIndex(0).drawPage

   do while(dPage.hasElements())
  dPage.remove(dPage.getByIndex(0))
   loop

end sub 


I've experienced the problem with version 

- 2.4.1 from Unbuntu repository
- 2.4.1 from mainstream under Windows
- 3.0 from mainstream under Ubuntu and Windows.

-
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]



[framework-issues] [Issue 95333] The execution of a macro f rom a toolbar button or a keyboard shortcut do esn't work anymore in basic IDE

2008-10-22 Thread tvataire
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95333
 Issue #|95333
 Summary|The execution of a macro from a toolbar button or a ke
|yboard shortcut doesn't work anymore in basic IDE
   Component|framework
 Version|OOO300m9
Platform|PC
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|ui
 Assigned to|tm
 Reported by|tvataire





--- Additional comments from [EMAIL PROTECTED] Wed Oct 22 22:20:17 + 
2008 ---
* Case of the keyboard shortcut : 
We associate the execution of a macro to the shortcut 'Ctrl+Shift+K' for all
Openoffice.org components.
The execution works fine in Writer but doesn't work in the IDE.
The following error message appears :

Erreur de OpenOffice.org :
com.sun.star.uno.RuntimeExceptionScriptProtocolHandler::createScriptProvider(),


* Case of a toolbar button :
We associate the execution of a macro to a new button in the 'Macro' toolbar of
the IDE.
The same error message appears than with keyboard shortcut.


This error has been reproduced with Ubuntu 8.04 and Windows XP.

-
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]