To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=102331
                 Issue #|102331
                 Summary|createUnoService("com.sun.star.frame.DispatchHelper") 
                        |return null
               Component|api
                 Version|OOO310m11
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|gerix





------- Additional comments from [email protected] Thu May 28 13:12:10 +0000 
2009 -------
I try to use DispatchHelper with Java API and it always return null. Then I try
to use it directly in OOBasic and it return null. I make this test under OO 2.2
and the same macro works.

Here the code that don't work under OO 3.1:
dim document   as object
dim dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno:Copy", "", 0, Array())


Dispatcher is always null.

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