https://bugs.freedesktop.org/show_bug.cgi?id=66762

--- Comment #6 from Stephan Bergmann <[email protected]> ---
(In reply to comment #5)

Using

> The piece of internal machinery it is exposing is this:
>      sal_Int32 nDisplay = Application::GetDisplayBuiltInScreen();
>      Rectangle aWorkRect = Application::GetWorkAreaPosSizePixel( nDisplay );

to make

> (b) Make the following OOBasic code work properly:
>             XToolkit toolkit = createUnoService("com.sun.star.awt.Toolkit")
>             Rectangle aWorkRect = toolkit->getWorkArea()
>       This API currently exists, but unconditionally returns an empty 
> rectangle.

work sounds like a good approach to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to