https://bugs.documentfoundation.org/show_bug.cgi?id=156714

--- Comment #2 from [email protected] ---
(In reply to Julien Nabet from comment #1)
> Could you copy paste what you got in your macro to execute
No macro. Used Tools > Customize - Toolbar tab, added the .uno to a toolbar,
and executed from toolbar.

But because you seem to want to use a macro -- here is one that does not give
an error, and also does not seem to have any effect.

Sub Main
  dim document   as object
  dim dispatcher as object
  document   = ThisComponent.CurrentController.Frame
  dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
  dispatcher.executeDispatch(document, ".uno:IndexMarkToIndex", "", 0, Array())
End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to