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

--- Comment #5 from Mike Kaganski <mikekagan...@hotmail.com> ---
(In reply to Shivam Jha from comment #4)
> equivalent uno command for slot:5410 is .uno:HelpMenu
> Does that mean I just have to replace
> xRootMenuEntry.setPropertyValue("CommandURL", "slot:5410"); with
> xRootMenuEntry.setPropertyValue("CommandURL", ".uno:HelpMenu"); ? Or the
> property name (The first parameter) will change if we want to use a uno
> command instead of the slot value?

I don't know what Hossein thinks about it, but I would assume this to be your
homework. Generally any change needs testing if it works as intended, so I'd
assume that you run the code (maybe that would be the hardest part of the
hack), and check if it worked correctly before (it should not); then test is
simple replacement of value would fix it.

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

Reply via email to