rpms/openoffice.org/devel pseudoworkspace.valgrind1.patch, 1.25, 1.26

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Sun Jan 20 20:29:06 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/openoffice.org/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27826

Modified Files:
	pseudoworkspace.valgrind1.patch 
Log Message:
another fix

pseudoworkspace.valgrind1.patch:

Index: pseudoworkspace.valgrind1.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/devel/pseudoworkspace.valgrind1.patch,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- pseudoworkspace.valgrind1.patch	18 Jan 2008 17:51:10 -0000	1.25
+++ pseudoworkspace.valgrind1.patch	20 Jan 2008 20:28:41 -0000	1.26
@@ -87,3 +87,23 @@
  		if(pHEvenMirror)
  			rRet &= ((SfxPoolItem&)aMirror).PutValue(*pHEvenMirror, MID_MIRROR_HORZ_EVEN_PAGES);
  		if(pHOddMirror)
+Index: source/svxlink/linkmgr.cxx
+===================================================================
+RCS file: /cvs/graphics/svx/source/svxlink/linkmgr.cxx,v
+retrieving revision 1.32
+diff -u -r1.32 linkmgr.cxx
+--- openoffice.org.orig/svx/source/svxlink/linkmgr.cxx	26 Nov 2007 13:36:05 -0000	1.32
++++ openoffice.org/svx/source/svxlink/linkmgr.cxx	19 Jan 2008 15:10:50 -0000
+@@ -261,10 +261,11 @@
+ {
+ 	BOOL bRet = FALSE;
+ 	::com::sun::star::uno::Sequence< sal_Int8 > aSeq;
+-	if( rValue.hasValue() && ( rValue >>= aSeq ) )
++	if( rValue.hasValue() && ( rValue >>= aSeq ) && aSeq.getLength() )
+ 	{
+ 		SvMemoryStream aMemStm( (void*)aSeq.getConstArray(), aSeq.getLength(),
+ 								STREAM_READ );
++
+ 		aMemStm.Seek( 0 );
+ 
+ 		switch( SotExchange::GetFormatIdFromMimeType( rMimeType ) )




More information about the fedora-extras-commits mailing list