[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Mon Nov 10 00:41:51 PST 2014


 vcl/unx/generic/gdi/gdiimpl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a49095dfcde9f1a3d1c04b4cdc3a50f5fc261f3d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 10 09:41:24 2014 +0100

    loplugin:staticcall
    
    Change-Id: I33927305351b6e84721c11e3a1814266b41db8da

diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx
index 172ebd6..efe66d8 100644
--- a/vcl/unx/generic/gdi/gdiimpl.cxx
+++ b/vcl/unx/generic/gdi/gdiimpl.cxx
@@ -178,7 +178,7 @@ X11Pixmap* X11SalGraphicsImpl::GetPixmapFromScreen( const Rectangle& rRect )
     }
 
     // Copy the background of the screen into a composite pixmap
-    mrParent.CopyScreenArea( mrParent.GetXDisplay(),
+    X11SalGraphics::CopyScreenArea( mrParent.GetXDisplay(),
                              mrParent.GetDrawable(), mrParent.GetScreenNumber(),
                              mrParent.GetVisual().GetDepth(),
                              pPixmap->GetDrawable(), pPixmap->GetScreen(),
@@ -206,7 +206,7 @@ bool X11SalGraphicsImpl::RenderPixmapToScreen( X11Pixmap* pPixmap, int nX, int n
     if( !pPixmap )
         return false;
 
-    mrParent.CopyScreenArea( mrParent.GetXDisplay(),
+    X11SalGraphics::CopyScreenArea( mrParent.GetXDisplay(),
                              pPixmap->GetDrawable(), pPixmap->GetScreen(),
                              pPixmap->GetDepth(),
                              mrParent.GetDrawable(), mrParent.m_nXScreen,


More information about the Libreoffice-commits mailing list