diff options
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/gdi/cairo_xlib_cairo.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx index 4ee1eec061cc..fdb3ede4f44d 100644 --- a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx +++ b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx @@ -259,10 +259,9 @@ namespace cairo int width = cairo_xlib_surface_get_width(mpSurface.get()); int height = cairo_xlib_surface_get_height(mpSurface.get()); - return VclPtr<VirtualDevice>( - VclPtr<VirtualDevice>::Create(&aSystemGraphicsData, + return VclPtr<VirtualDevice>::Create(&aSystemGraphicsData, Size(width, height), - getFormat())); + getFormat()); } /** |