rpms/openoffice.org/devel pseudoworkspace.valgrind1.patch,1.8,1.9

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Dec 15 16:34:20 UTC 2006


Author: caolanm

Update of /cvs/dist/rpms/openoffice.org/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv28443

Modified Files:
	pseudoworkspace.valgrind1.patch 
Log Message:
remove a few valgrind warnings

pseudoworkspace.valgrind1.patch:
 osl/unx/process.c                        |    0 
 psprint/source/helper/ppdparser.cxx      |    2 +-
 sal/osl/unx/process.c                    |    6 +++---
 sfx2/source/explorer/nochaos.cxx         |    4 ++--
 source/explorer/nochaos.cxx              |    0 
 source/helper/ppdparser.cxx              |    0 
 unx/gtk/gdi/salnativewidgets-gtk.cxx     |    0 
 vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx |    3 +--
 8 files changed, 7 insertions(+), 8 deletions(-)

Index: pseudoworkspace.valgrind1.patch
===================================================================
RCS file: /cvs/dist/rpms/openoffice.org/devel/pseudoworkspace.valgrind1.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pseudoworkspace.valgrind1.patch	8 Nov 2006 09:27:08 -0000	1.8
+++ pseudoworkspace.valgrind1.patch	15 Dec 2006 16:34:17 -0000	1.9
@@ -50,3 +50,36 @@
  
  	Insert(
  		new	SfxStringItem( WID_CHAOS_START, String() ),
+Index: unx/gtk/gdi/salnativewidgets-gtk.cxx
+===================================================================
+RCS file: /cvs/gsl/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx,v
+retrieving revision 1.34
+diff -u -r1.34 salnativewidgets-gtk.cxx
+--- openoffice.org.orig/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx	6 Oct 2006 09:59:39 -0000	1.34
++++ openoffice.org/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx	15 Dec 2006 14:53:10 -0000
+@@ -247,8 +247,7 @@
+     Rectangle   m_pixmapRect;
+     GdkPixmap*  m_pixmap;
+     
+-    NWPixmapCacheData()
+-        { m_pixmap = NULL; };
++    NWPixmapCacheData() : m_nType(0), m_nState(0), m_pixmap(0) {}
+     ~NWPixmapCacheData()
+         { SetPixmap( NULL ); };
+     void SetPixmap( GdkPixmap* pPixmap );
+Index: source/helper/ppdparser.cxx
+===================================================================
+RCS file: /cvs/gsl/psprint/source/helper/ppdparser.cxx,v
+retrieving revision 1.22
+diff -u -r1.22 ppdparser.cxx
+--- openoffice.org.orig/psprint/source/helper/ppdparser.cxx	16 Sep 2006 12:35:02 -0000	1.22
++++ openoffice.org/psprint/source/helper/ppdparser.cxx	15 Dec 2006 16:28:53 -0000
+@@ -1624,7 +1624,7 @@
+     m_aCurrentValues.clear();
+ 
+     char* pRun = (char*)pBuffer;
+-    while( *pRun && nBytes )
++    while( nBytes && *pRun )
+     {
+         ByteString aLine( pRun );
+         int nPos = aLine.Search( ':' );




More information about the fedora-cvs-commits mailing list