To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108630





------- Additional comments from nsta...@openoffice.org Sun Jan 24 22:25:01 
+0000 2010 -------
Actually I'm not. Here's my patch against svn rev. 277953

Index: vcl/unx/source/gdi/xrender_peer.cxx
===================================================================
--- vcl/unx/source/gdi/xrender_peer.cxx (revision 277953)
+++ vcl/unx/source/gdi/xrender_peer.cxx (working copy)
@@ -171,7 +171,7 @@
 #if 0 // not having trapezoid support is supported
     if( !pFunc ) return;
 #endif
-    mpXRenderAddTraps = (void(*)(Display*,Picture,int,int,const 
XTrap*,int))pFunc;
+    mpXRenderAddTraps = (void(*)(Display*,Picture,int,int,const 
_XTrap*,int))pFunc;
 
 #endif // XRENDER_LINK
 
Index: vcl/unx/source/gdi/xrender_peer.hxx
===================================================================
--- vcl/unx/source/gdi/xrender_peer.hxx (revision 277953)
+++ vcl/unx/source/gdi/xrender_peer.hxx (working copy)
@@ -33,6 +33,7 @@
 
 #include <tools/prex.h>
 #include <X11/extensions/Xrender.h>
+struct _XTrap; // On some older systems this is not declared within Xrender.h
 #include <tools/postx.h>
 
 #include <vcl/salgtype.hxx>
@@ -85,7 +86,7 @@
                     const XRenderPictFormat*, int nXSrc, int nYSrc,
                     const XTrapezoid*, int nCount ) const;
     bool        AddTraps( Picture aDst, int nXOfs, int nYOfs,
-                    const XTrap*, int nCount ) const;
+                    const _XTrap*, int nCount ) const;
 
     bool        AreTrapezoidsSupported() const
 #ifdef XRENDER_LINK
@@ -119,7 +120,7 @@
                     const XRenderColor*,int,int,unsigned int,unsigned int);
     void        (*mpXRenderCompositeTrapezoids)(Display*,int,Picture,Picture,
                     const XRenderPictFormat*,int,int,const XTrapezoid*,int);
-    void        (*mpXRenderAddTraps)(Display*,Picture,int,int,const 
XTrap*,int);
+    void        (*mpXRenderAddTraps)(Display*,Picture,int,int,const 
_XTrap*,int);
 #endif // XRENDER_LINK
 };
 
@@ -315,7 +316,7 @@
 }
 
 inline bool XRenderPeer::AddTraps( Picture aDst, int nXOfs, int nYOfs,
-    const XTrap* pTraps, int nCount ) const
+    const _XTrap* pTraps, int nCount ) const
 {
 #ifdef XRENDER_LINK
     XRenderAddTraps( mpDisplay, aDst, nXOfs, nYOfs, pTraps, nCount );

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to