summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorRuslan Kabatsayev <b7.10110111@gmail.com>2012-06-16 03:49:20 +0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-06-18 10:53:27 +0200
commit3f996588792d3dbefb001d546524a877d50d537c (patch)
tree47ba13c26d80d46627203840bea7a7324dbfc984 /vcl
parentSVG: use dash parameters from svg file (diff)
downloadcore-3f996588792d3dbefb001d546524a877d50d537c.tar.gz
core-3f996588792d3dbefb001d546524a877d50d537c.zip
Fix arguments of Rectangle constructor
Change-Id: I8f288e55694ac85f8dcd2884a53ff4b5b9eef02f
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/app/gtksys.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 179bf58dda61..cc921b87fb4f 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)