Issue 102331 - createUnoService("") return null
Summary: createUnoService("") return null
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-05-28 14:12 UTC by gerix
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description gerix 2009-05-28 14:12:10 UTC
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("")
dispatcher.executeDispatch(document, ".uno:Copy", "", 0, Array())

Dispatcher is always null.
Comment 1 jsc 2009-05-29 09:08:53 UTC
jsc -> cd: seems to be one for the framework, can you please take of it