rpms/openoffice.org/FC-6 pseudoworkspace.valgrind1.patch,1.6,1.7

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


Author: caolanm

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

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

pseudoworkspace.valgrind1.patch:
 configmgr/source/tree/cmtree.cxx                                   |    4 
 connectivity/source/drivers/evoab2/NResultSet.cxx                  |    6 -
 framework/source/uiconfiguration/moduleimagemanager.cxx            |    9 ++
 inc/SwBitArray.hxx                                                 |    0 
 inc/SwRewriter.hxx                                                 |    0 
 inc/msdffdef.hxx                                                   |    0 
 inc/osl/file.hxx                                                   |    0 
 lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx |    1 
 osl/unx/process.c                                                  |    0 
 psprint/source/helper/ppdparser.cxx                                |    2 
 sal/inc/osl/file.hxx                                               |    5 +
 sal/osl/unx/process.c                                              |    6 -
 sfx2/source/explorer/nochaos.cxx                                   |    4 
 shell/source/backends/gconfbe/gconflayer.cxx                       |   23 +++--
 slideshow/source/engine/smilfunctionparser.cxx                     |    2 
 source/backends/gconfbe/gconflayer.cxx                             |    0 
 source/core/bastyp/SwBitArray.cxx                                  |    0 
 source/customshapes/EnhancedCustomShapeFunctionParser.cxx          |    0 
 source/cxxhelp/provider/databases.cxx                              |    0 
 source/cxxhelp/provider/db.cxx                                     |    0 
 source/cxxhelp/provider/db.hxx                                     |    0 
 source/engine/smilfunctionparser.cxx                               |    0 
 source/explorer/nochaos.cxx                                        |    0 
 source/glyphs/gcach_ftyp.cxx                                       |    0 
 source/helper/ppdparser.cxx                                        |    0 
 source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx                |    0 
 source/misc/transfer.cxx                                           |    0 
 source/msfilter/msdffimp.cxx                                       |    0 
 source/tree/cmtree.cxx                                             |    0 
 svtools/source/misc/transfer.cxx                                   |    1 
 svx/inc/msdffdef.hxx                                               |    1 
 svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx      |    2 
 svx/source/msfilter/msdffimp.cxx                                   |    2 
 sw/inc/SwBitArray.hxx                                              |    4 
 sw/inc/SwRewriter.hxx                                              |    1 
 sw/inc/numrule.hxx                                                 |   18 ++--
 sw/source/core/bastyp/SwBitArray.cxx                               |    2 
 sw/source/core/doc/docnum.cxx                                      |    5 -
 sw/source/core/doc/number.cxx                                      |   11 ++
 unx/gtk/gdi/salnativewidgets-gtk.cxx                               |    0 
 unx/source/app/saldisp.cxx                                         |    0 
 unx/source/gdi/salvd.cxx                                           |    0 
 vcl/source/glyphs/gcach_ftyp.cxx                                   |    3 
 vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx                           |    3 
 vcl/unx/inc/saldisp.hxx                                            |    2 
 vcl/unx/source/app/saldisp.cxx                                     |    8 +
 vcl/unx/source/gdi/salvd.cxx                                       |    5 +
 xmlhelp/source/cxxhelp/provider/databases.cxx                      |    4 
 xmlhelp/source/cxxhelp/provider/db.cxx                             |   43 ----------
 xmlhelp/source/cxxhelp/provider/db.hxx                             |   24 -----
 50 files changed, 99 insertions(+), 102 deletions(-)

Index: pseudoworkspace.valgrind1.patch
===================================================================
RCS file: /cvs/dist/rpms/openoffice.org/FC-6/pseudoworkspace.valgrind1.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pseudoworkspace.valgrind1.patch	18 Sep 2006 14:03:18 -0000	1.6
+++ pseudoworkspace.valgrind1.patch	15 Dec 2006 16:33:58 -0000	1.7
@@ -706,3 +706,36 @@
  #include <functional>
  #include <algorithm>
  #include <stack>
+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