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

Tor Lillqvist tml at kemper.freedesktop.org
Mon Jun 18 05:54:39 PDT 2012


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

New commits:
commit bd666d98e0f06dfd91f6a9604967d92088e01206
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>
    Signed-off-by: Stephan Bergmann <sbergman at redhat.com>
    Signed-off-by: Tor Lillqvist <tlillqvist at suse.com>

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