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/unx | |
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/unx')
-rw-r--r-- | vcl/unx/gtk/app/gtksys.cxx | 8 | ||||
-rw-r--r-- | vcl/unx/x11/x11sys.cxx | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx index 1d2d7313b564..0a72054aeb9d 100644 --- a/vcl/unx/gtk/app/gtksys.cxx +++ b/vcl/unx/gtk/app/gtksys.cxx @@ -246,14 +246,6 @@ Rectangle GtkSalSystem::GetDisplayScreenPosSizePixel (unsigned int nScreen) return Rectangle (Point(aRect.x, aRect.y), Size(aRect.width, aRect.height)); } -Rectangle GtkSalSystem::GetDisplayScreenWorkAreaPosSizePixel (unsigned int nScreen) -{ - // FIXME: in theory we need extra code here to collect - // the work area, ignoring fixed panels etc. on the screen. - // surely gtk+ should have API to get this for us (?) - return GetDisplayScreenPosSizePixel( nScreen ); -} - OUString GtkSalSystem::GetDisplayScreenName(unsigned int nScreen) { gchar *pStr; diff --git a/vcl/unx/x11/x11sys.cxx b/vcl/unx/x11/x11sys.cxx index 66a07753271c..e1d8be657c33 100644 --- a/vcl/unx/x11/x11sys.cxx +++ b/vcl/unx/x11/x11sys.cxx @@ -84,12 +84,6 @@ Rectangle X11SalSystem::GetDisplayScreenPosSizePixel( unsigned int nScreen ) return aRet; } -Rectangle X11SalSystem::GetDisplayScreenWorkAreaPosSizePixel( unsigned int nScreen ) -{ - // FIXME: workareas - return GetDisplayScreenPosSizePixel( nScreen ); -} - OUString X11SalSystem::GetDisplayScreenName( unsigned int nScreen ) { OUString aScreenName; |