summaryrefslogtreecommitdiff
path: root/vcl/source/opengl
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/source/opengl
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/source/opengl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 886c8fbe80d3..e8985dd36d9e 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -368,9 +368,8 @@ void OpenGLContext::InitChildWindow(SystemChildWindow *pChildWindow)
pChildWindow->SetControlBackground();
}
-bool OpenGLContext::initWindow()
+void OpenGLContext::initWindow()
{
- return false;
}
void OpenGLContext::destroyCurrentContext()
@@ -624,9 +623,9 @@ bool OpenGLContext::BindFramebuffer( OpenGLFramebuffer* pFramebuffer )
return true;
}
-bool OpenGLContext::AcquireDefaultFramebuffer()
+void OpenGLContext::AcquireDefaultFramebuffer()
{
- return BindFramebuffer( nullptr );
+ BindFramebuffer( nullptr );
}
OpenGLFramebuffer* OpenGLContext::AcquireFramebuffer( const OpenGLTexture& rTexture )