vcl/opengl/gdiimpl.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 6cc84edfaf212fd202bc30002869d50f8ca7e53d
Author: Chris Sherlock <chris.sherloc...@gmail.com>
Date:   Tue Jan 20 10:51:55 2015 +0000

    Revert "vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContext"
    
    This reverts commit 3d580990643119cccb73f4f15d549863a6660aa6.
    
    Change-Id: Ib16fea0df909d41b2d51d5f3efe44dd4b3419352
    Reviewed-on: https://gerrit.libreoffice.org/14033
    Reviewed-by: Chris Sherlock <chris.sherloc...@gmail.com>
    Tested-by: Chris Sherlock <chris.sherloc...@gmail.com>

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 51374b9..bae5302 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -96,11 +96,7 @@ bool OpenGLSalGraphicsImpl::AcquireContext( )
     if( pContext )
         pContext->AddRef();
     else
-    {
         pContext = mbOffscreen ? GetDefaultContext() : CreateWinContext();
-        if (pContext)
-            pContext->AddRef();
-    }
 
     mpContext = pContext;
     return (mpContext != NULL);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to