diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-05 09:55:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-05 13:31:39 +0100 |
commit | 55e596956e56b175ab17b682e7c8ac7daeb9289a (patch) | |
tree | 3691e2f43d50019b5e0f0e0145714afb13bcc685 /vcl/opengl | |
parent | 6a10149c5fef13721e3f83727a828556f8e1ec9a (diff) |
loplugin:external (clang-cl)
...plus loplugin:consttobool and loplugin:fakebool fallout
Change-Id: Ie3d8121815c080b13bea6d9deca1eb138ca56138
Reviewed-on: https://gerrit.libreoffice.org/84515
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/win/gdiimpl.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx index c47de25b19f3..d736cfc08972 100644 --- a/vcl/opengl/win/gdiimpl.cxx +++ b/vcl/opengl/win/gdiimpl.cxx @@ -25,6 +25,8 @@ static std::vector<HGLRC> g_vShareList; static bool g_bAnyCurrent; +namespace { + class GLWinWindow : public GLWindow { public: @@ -34,6 +36,8 @@ public: GLWinWindow(); }; +} + GLWinWindow::GLWinWindow() : hWnd(nullptr) , hDC(nullptr) @@ -41,6 +45,8 @@ GLWinWindow::GLWinWindow() { } +namespace { + class WinOpenGLContext : public OpenGLContext { public: @@ -59,6 +65,8 @@ private: virtual void swapBuffers() override; }; +} + void WinOpenGLContext::swapBuffers() { OpenGLZone aZone; |