summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:39:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:39:55 +0100
commit736300b358bc9207b360d6d7e4aa0b70499f4837 (patch)
treeb86830604449508b4e89dd00aa3a0931a7182bbf /vcl/opengl
parentb57368b894851e1ae204c03753005a4a1d121908 (diff)
New loplugin:externvar: vcl
Change-Id: I8b01a7bd7459db242364b6a766549374264f26f2
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/x11/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx
index c6807de25066..3fe62601e200 100644
--- a/vcl/opengl/x11/gdiimpl.cxx
+++ b/vcl/opengl/x11/gdiimpl.cxx
@@ -639,7 +639,7 @@ bool X11OpenGLSalGraphicsImpl::FillPixmapFromScreen( X11Pixmap* pPixmap, int nX,
typedef typename std::pair<ControlCacheKey, std::unique_ptr<TextureCombo>> ControlCachePair;
typedef o3tl::lru_map<ControlCacheKey, std::unique_ptr<TextureCombo>, ControlCacheHashFunction> ControlCacheType;
-vcl::DeleteOnDeinit<ControlCacheType> gTextureCache(new ControlCacheType(200));
+static vcl::DeleteOnDeinit<ControlCacheType> gTextureCache(new ControlCacheType(200));
namespace
{