diff options
Diffstat (limited to 'vcl/unx/generic/gdi/cairo_xlib_cairo.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/cairo_xlib_cairo.cxx | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx index 26d8876a8906..4ec335d10324 100644 --- a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx +++ b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx @@ -255,7 +255,7 @@ namespace cairo return VclPtr<VirtualDevice>::Create(aSystemGraphicsData, Size(width, height), - getFormat()); + DeviceFormat::DEFAULT); } /** @@ -289,19 +289,6 @@ namespace cairo return static_cast<XRenderPictFormat*>(maSysData.pRenderFormat)->depth; return -1; } - - /** - * Surface::getFormat: Get the device format of the Canvas surface. - * - * @return color format - **/ - DeviceFormat X11Surface::getFormat() const - { - if (!maSysData.pRenderFormat) - return DeviceFormat::DEFAULT; - assert (static_cast<XRenderPictFormat*>(maSysData.pRenderFormat)->depth != 1 && "unsupported"); - return DeviceFormat::DEFAULT; - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |