https://bugs.documentfoundation.org/show_bug.cgi?id=127992
Caolán McNamara <caol...@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|NEW |RESOLVED
--- Comment #5 from Caolán McNamara <caol...@redhat.com> ---
...
VirtualDevice aRenderContext;
aRenderContext.DrawPixel(Point(8, 1), COL_GREEN);
...
aRenderContext is 0x0 so you are drawing outside the bounds of the device.
Change it to ...
VirtualDevice aRenderContext;
aRenderContext.SetOutputSizePixel(Size(10,10));
aRenderContext.DrawPixel(Point(8, 1), COL_GREEN);
and it will work
--
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