Nevermind. The problem was in the KeyModifier. it's KEY_MOD1 and not
KEY_MOD2.

On 17/2/21 15:49, Xisco Fauli wrote:
> Hello,
>
> Is there any reason why inserting shapes doesn't work in CppUnittests ?
> In UItests, it's possible to use the KeyModifier 8192 (KEY_MOD2 ), see
> https://opengrok.libreoffice.org/xref/core/sw/qa/uitest/writer_tests7/tdf130629.py?r=f7c8535a,
> however, if I do the same in a CppUnittest, nothing is inserted. see
> https://gerrit.libreoffice.org/c/core/+/111072.
>
> Any idea why this is happening ?
>
> Cheers
>
-- 
Xisco FaulĂ­
LibreOffice QA Team
IRC: x1sc0

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to