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

--- Comment #7 from Stang <sgre...@yahoo.com> ---
Have an alternative using doVerb().

In ActivateDiagram replaced:

    oXCOEO.changeState(4)       ' UI_ACTIVE = 4
    oXCOEO.changeState(0)       ' LOADED = 0

with:

    oXCOEO.doVerb(-2)
    oXCOEO.doVerb(-3)

Then added:

    oXCOEO = oDiag.ExtendedControlOverEmbeddedObject
    oXCOEO.doVerb(-2)
    oXCOEO.doVerb(-3)

to the end of Change Data.

Works well on Ubuntu 18.04 Mate with LO:

Version: 6.4.0.3
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Will attach original sample with noted modifications.

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