[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann
sbergman at redhat.com
Mon Mar 12 09:37:55 UTC 2018
vcl/unx/generic/gdi/cairo_xlib_cairo.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit fd67b40a91d36c9ea24facadf150efd7499e1f06
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Mar 12 10:37:24 2018 +0100
loplugin:redundantfcast
Change-Id: I71d2321b47ff40576072898680897832a7b3b77e
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());
}
/**
More information about the Libreoffice-commits
mailing list