summaryrefslogtreecommitdiff
path: root/vcl/source/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-24 09:21:23 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-12-24 20:57:35 +0000
commit33fac4828038bc38ab4a0c4b891d762a5ae73e5e (patch)
treea5e9404df7ae0f662ef5d7272134596ce63afa71 /vcl/source/opengl
parentd3e57ccf2e56a75bd4f004de53793f1742e34bc4 (diff)
loplugin:unnecessaryvirtual
and unwind some apparently now unused VCL OpenGL and GlyphCachePeer stuff. Change-Id: Ic85302d4e1ad4056dabc49c97a608891052e3167 Reviewed-on: https://gerrit.libreoffice.org/20920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index f1e1660beaaf..bfd811001926 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -1144,14 +1144,6 @@ OutputDevice::PaintScope::PaintScope(OutputDevice *pDev)
{
if( pDev->mpGraphics || pDev->AcquireGraphics() )
{
- OpenGLContext *pContext = pDev->mpGraphics->BeginPaint();
- if( pContext )
- {
- assert( pContext->mnPainting >= 0 );
- pContext->mnPainting++;
- pContext->acquire();
- pHandle = static_cast<void *>( pContext );
- }
}
}