[Libreoffice-commits] .: Branch 'libreoffice-3-5' - vcl/unx
Fridrich Strba
fridrich at kemper.freedesktop.org
Mon Jun 18 01:55:32 PDT 2012
vcl/unx/gtk/app/gtksys.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c24210ac8a4a6d9a71752a8d33c504de8fcce6f6
Author: Ruslan Kabatsayev <b7.10110111 at gmail.com>
Date: Sat Jun 16 03:49:20 2012 +0400
Fix arguments of Rectangle constructor
Change-Id: I8f288e55694ac85f8dcd2884a53ff4b5b9eef02f
Signed-off-by: Fridrich Å trba <fridrich.strba at bluewin.ch>
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index ec8fbef..78c528c 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -246,7 +246,7 @@ Rectangle GtkSalSystem::GetDisplayScreenPosSizePixel (unsigned int nScreen)
if (!pScreen)
return Rectangle();
gdk_screen_get_monitor_geometry (pScreen, nMonitor, &aRect);
- return Rectangle (aRect.x, aRect.y, aRect.width, aRect.height);
+ return Rectangle (Point(aRect.x, aRect.y), Size(aRect.width, aRect.height));
}
Rectangle GtkSalSystem::GetDisplayScreenWorkAreaPosSizePixel (unsigned int nScreen)
More information about the Libreoffice-commits
mailing list