[Libreoffice-commits] .: Branch 'libreoffice-3-6' - vcl/unx

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Jun 18 01:53:30 PDT 2012


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

New commits:
commit 8443397ccf73e8d905f56a1049f3334325d63ed7
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

diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 179bf58..cc921b8 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -245,7 +245,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