To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70185
                 Issue #|70185
                 Summary|Example BeanShell code has deprecated/useless import
               Component|framework
                 Version|OOo 2.0.3
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|scripting
             Assigned to|mba
             Reported by|bmarcelly





------- Additional comments from [EMAIL PROTECTED] Sat Oct  7 10:57:32 -0700 
2006 -------
Create a new BeanShell script with the UI.
In the automatically generated example code there is:

import drafts.com.sun.star.script.provider.XScriptContext;

drafts should not be in an example, I think.
Moreover this import is useless, as can be deduced from the script comment:
" Import XScriptContext class. An instance of this class is available
    to all BeanShell scripts in the global variable "XSCRIPTCONTEXT". This
    variable can be used to access the document for which this script
    was invoked."

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

Reply via email to