diff options
Diffstat (limited to 'vcl/unx/generic/gdi/salgdi.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 3a1f9bca5412..7908d04e2164 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -66,16 +66,6 @@ X11Common::X11Common() , m_pColormap(nullptr) {} -bool X11Common::SupportsCairo() const -{ - static bool bSupportsCairo = [this] { - Display *pDisplay = GetXDisplay(); - int nDummy; - return XQueryExtension(pDisplay, "RENDER", &nDummy, &nDummy, &nDummy); - }(); - return bSupportsCairo; -} - // X11SalGraphics X11SalGraphics::X11SalGraphics(): @@ -236,7 +226,7 @@ void X11SalGraphics::Flush() bool X11SalGraphics::SupportsCairo() const { - return maX11Common.SupportsCairo(); + return true; } cairo::SurfaceSharedPtr X11SalGraphics::CreateSurface(const cairo::CairoSurfaceSharedPtr& rSurface) const |