summaryrefslogtreecommitdiff
path: root/vcl/opengl/win
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-22 15:52:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-24 07:56:01 +0100
commitde8f6b25de6fbe813fe172542e7eff1596b37335 (patch)
tree4a2864c87395463391cd2ad40c4f1ada962f44e9 /vcl/opengl/win
parent182a3c7e12a0f56d664deaf67d17bc51eef6299d (diff)
loplugin:unused-returns in vcl
Change-Id: I507320900a47f604d17ed7d402d531a7cbdf744e Reviewed-on: https://gerrit.libreoffice.org/48331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl/win')
-rw-r--r--vcl/opengl/win/gdiimpl.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 8329fbd83b5b..86e5bd4b958a 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -43,7 +43,7 @@ class WinOpenGLContext : public OpenGLContext
{
public:
bool init( HDC hDC, HWND hWnd );
- virtual bool initWindow() override;
+ virtual void initWindow() override;
private:
GLWinWindow m_aGLWin;
virtual const GLWindow& getOpenGLWindow() const override { return m_aGLWin; }
@@ -133,7 +133,7 @@ bool WinOpenGLContext::init(HDC hDC, HWND hWnd)
return ImplInit();
}
-bool WinOpenGLContext::initWindow()
+void WinOpenGLContext::initWindow()
{
if( !m_pChildWindow )
{
@@ -149,7 +149,6 @@ bool WinOpenGLContext::initWindow()
}
m_aGLWin.hDC = GetDC(m_aGLWin.hWnd);
- return true;
}
void WinOpenGLContext::destroyCurrentContext()