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 /framework/source/layoutmanager | |
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 'framework/source/layoutmanager')
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index e9fa7cb0e89c..97629d2b205f 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -2454,7 +2454,7 @@ sal_Bool LayoutManager::implts_resizeContainerWindow( const awt::Size& rContaine // calculate the maximum size we have for the container window sal_Int32 nDisplay = xContainerTopWindow->getDisplay(); - Rectangle aWorkArea = Application::GetWorkAreaPosSizePixel( nDisplay ); + Rectangle aWorkArea = Application::GetScreenPosSizePixel( nDisplay ); if (( aWorkArea.GetWidth() > 0 ) && ( aWorkArea.GetHeight() > 0 )) { |