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

Caolán McNamara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #5 from Caolán McNamara <[email protected]> ---
...

    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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to