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

Wolfgang Jäger <j...@psilosoph.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |j...@psilosoph.de

--- Comment #2 from Wolfgang Jäger <j...@psilosoph.de> ---
Created attachment 145689
  --> https://bugs.documentfoundation.org/attachment.cgi?id=145689&action=edit
The attachment announced in Comment #2

The issue was not with specific macros but with the passing of a (useless; no
information) parameter when a macro was called from a click on a sensitive area
in a ToolBar where it was inserted via Customize. 

When one of the macros was assigned to a shortcut key the issue did not show. 

Background: I once had a Basic Sub that I wanted to call sometimes clicking on
a ControlButton, sometimes from a ToolBar icon. The body should distinguish the
cases based on testing an optional pEvent parameter with the IsMissing()
function. Depending on the result different ptreparing commands should be
executed. This failed because the ToolBar case passed an unexpected parameter
of type Integer and value 0. No usable information, workaround annoying.

I attach a simple example document containing detailed information how to
reproduce the issue. Of course I do not expect anybody to assign document
macros to his ToolBars in real life.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to