From 876de03290ce0e9393134d722e5b15025e32a341 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 14 Dec 2016 10:30:00 +0100 Subject: Simplify GLX11Window::HasGLXExtension, avoiding strtok Change-Id: If737cf4aaec1e6297db2bc8a80b19720ca9ca189 --- vcl/inc/unx/saldisp.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/inc') diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index 339ba806d6e8..d64b67ec6ca8 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -30,6 +30,7 @@ class SalXLib; #include #include +#include #include #include #include @@ -200,7 +201,7 @@ public: Window win; XVisualInfo* vi; GLXContext ctx; - const char* GLXExtensions; + OString GLXExtensions; bool HasGLXExtension(const char* name) const; -- cgit