summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-12 10:37:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-12 10:37:24 +0100
commitfd67b40a91d36c9ea24facadf150efd7499e1f06 (patch)
tree77b80d8f4133ce52a53c1503126882d067bb7d83 /vcl/unx/generic
parent451d62196daee61d6b7f1631da43b7b42a2d4f0c (diff)
loplugin:redundantfcast
Change-Id: I71d2321b47ff40576072898680897832a7b3b77e
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/gdi/cairo_xlib_cairo.cxx5
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());
}
/**