diff options
author | Noel Grandin <noel@peralex.com> | 2013-07-19 08:20:14 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-07-19 11:18:21 +0000 |
commit | ab5eaec0984d562140a61e1320c39fdb82ec1b3b (patch) | |
tree | 29da024eef37a4e6fb7fa603ba243bc71b4ee449 /embeddedobj/source/general | |
parent | 86b8b3b7e0fd384378f76e21ff170c76ee0ab7f5 (diff) |
remove Application::GetWorkAreaPosSizePixel
This internal API has always been problematic because we cannot
support it under the Linux toolkits, where it has in fact always
just returned the size of the screen.
Change-Id: I406bcbca8a4161b4261ef46940823bb07c6ad18b
Reviewed-on: https://gerrit.libreoffice.org/4976
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'embeddedobj/source/general')
-rw-r--r-- | embeddedobj/source/general/docholder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx index 44b4c59c0e52..c34cb8276eff 100644 --- a/embeddedobj/source/general/docholder.cxx +++ b/embeddedobj/source/general/docholder.cxx @@ -892,7 +892,7 @@ uno::Reference< frame::XFrame > DocumentHolder::GetDocFrame() { sal_Int32 nDisplay = Application::GetDisplayBuiltInScreen(); - Rectangle aWorkRect = Application::GetWorkAreaPosSizePixel( nDisplay ); + Rectangle aWorkRect = Application::GetScreenPosSizePixel( nDisplay ); awt::Rectangle aWindowRect = xHWindow->getPosSize(); if (( aWindowRect.Width < aWorkRect.GetWidth()) && ( aWindowRect.Height < aWorkRect.GetHeight() )) |