https://bugs.freedesktop.org/show_bug.cgi?id=66762
--- Comment #5 from Noel Grandin <[email protected]> --- I removed this in http://cgit.freedesktop.org/libreoffice/core/commit/?id=dde234b6955a421d51d2b37e4fc3972c660146f0 because I thought it was a purely internal API. The piece of internal machinery it is exposing is this: sal_Int32 nDisplay = Application::GetDisplayBuiltInScreen(); Rectangle aWorkRect = Application::GetWorkAreaPosSizePixel( nDisplay ); I see three choices: (a) restore the old API, by reverting that part of the commit (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. (c) design a new API The code for option (b) in VCLXToolkit::getWorkArea() currently has the comment: // 07/00: AppWindow doesn't exist anymore... And it's so old, it belongs to the initial import, so I can't figure out any more about it. I'm happy to do any of the above. -- 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
