[Libreoffice-commits] core.git: vcl/opengl vcl/source

Stephan Bergmann sbergman at redhat.com
Wed Jan 6 02:26:58 PST 2016


 vcl/opengl/gdiimpl.cxx              |    2 +-
 vcl/source/opengl/OpenGLContext.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f1d3b68f3cbaab58e464f8111e4db990e008a96c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 6 11:26:32 2016 +0100

    loplugin:defaultparams
    
    Change-Id: Ic5bfc72c75745d0a4d9ff165d840ab51c90a8690

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 96fe028..791bf09 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -112,7 +112,7 @@ bool OpenGLSalGraphicsImpl::AcquireContext( bool bForceCreate )
     }
 
     if( !mpContext.is() )
-        mpContext = OpenGLContext::getVCLContext( true );
+        mpContext = OpenGLContext::getVCLContext();
 
     return mpContext.is();
 }
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 911a14d0..db51515 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -1478,7 +1478,7 @@ rtl::Reference<OpenGLContext> OpenGLContext::getVCLContext(bool bMakeIfNecessary
  */
 void OpenGLContext::makeVCLCurrent()
 {
-    getVCLContext(true);
+    getVCLContext();
 }
 
 void OpenGLContext::registerAsCurrent()


More information about the Libreoffice-commits mailing list