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 /vcl/aqua | |
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 'vcl/aqua')
-rw-r--r-- | vcl/aqua/source/app/salsys.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/aqua/source/app/salsys.cxx b/vcl/aqua/source/app/salsys.cxx index d1c553a65fbe..6914865badbc 100644 --- a/vcl/aqua/source/app/salsys.cxx +++ b/vcl/aqua/source/app/salsys.cxx @@ -61,25 +61,6 @@ Rectangle AquaSalSystem::GetDisplayScreenPosSizePixel( unsigned int nScreen ) return aRet; } -Rectangle AquaSalSystem::GetDisplayScreenWorkAreaPosSizePixel( unsigned int nScreen ) -{ - NSArray* pScreens = [NSScreen screens]; - Rectangle aRet; - NSScreen* pScreen = nil; - if( pScreens && nScreen < [pScreens count] ) - pScreen = [pScreens objectAtIndex: nScreen]; - else - pScreen = [NSScreen mainScreen]; - - if( pScreen ) - { - NSRect aFrame = [pScreen visibleFrame]; - aRet = Rectangle( Point( static_cast<long int>(aFrame.origin.x), static_cast<long int>(aFrame.origin.y) ), - Size( static_cast<long int>(aFrame.size.width), static_cast<long int>(aFrame.size.height) ) ); - } - return aRet; -} - OUString AquaSalSystem::GetDisplayScreenName( unsigned int nScreen ) { NSArray* pScreens = [NSScreen screens]; |