vcl/unx/gtk/app/gtksys.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c24210ac8a4a6d9a71752a8d33c504de8fcce6f6
Author: Ruslan Kabatsayev <[email protected]>
Date:   Sat Jun 16 03:49:20 2012 +0400

    Fix arguments of Rectangle constructor
    
    Change-Id: I8f288e55694ac85f8dcd2884a53ff4b5b9eef02f
    
    Signed-off-by: Fridrich Å trba <[email protected]>

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)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to