[Libreoffice-commits] .: vcl/unx

Lubos Lunak llunak at kemper.freedesktop.org
Mon Jan 17 07:30:41 PST 2011


 vcl/unx/source/gdi/salgdi.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b23ca3c2d830dc18840a42f5881733fbf0951119
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Mon Jan 17 16:30:25 2011 +0100

    and fix the 'XRenderPictFormat* pVisualFormat' misnomer too

diff --git a/vcl/unx/source/gdi/salgdi.cxx b/vcl/unx/source/gdi/salgdi.cxx
index 369f401..9a4912e 100644
--- a/vcl/unx/source/gdi/salgdi.cxx
+++ b/vcl/unx/source/gdi/salgdi.cxx
@@ -1017,11 +1017,11 @@ XID X11SalGraphics::GetXRenderPicture()
     if( !m_aXRenderPicture )
     {
         // check xrender support for matching visual
-        XRenderPictFormat* pVisualFormat = GetXRenderFormat();
-        if( !pVisualFormat )
+        XRenderPictFormat* pXRenderFormat = GetXRenderFormat();
+        if( !pXRenderFormat )
             return 0;
         // get the matching xrender target for drawable
-        m_aXRenderPicture = rRenderPeer.CreatePicture( hDrawable_, pVisualFormat, 0, NULL );
+        m_aXRenderPicture = rRenderPeer.CreatePicture( hDrawable_, pXRenderFormat, 0, NULL );
     }
 
     {


More information about the Libreoffice-commits mailing list