rpms/openoffice.org/devel openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch, NONE, 1.1 openoffice.org.spec, 1.1490, 1.1491

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Wed Apr 30 15:15:46 UTC 2008


Author: caolanm

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

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch 
Log Message:
Resolves: rhbz#444571 add openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch

openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch:

--- NEW FILE openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch ---
Index: source/view/main/Clipping.cxx
===================================================================
RCS file: /cvs/graphics/chart2/source/view/main/Clipping.cxx,v
retrieving revision 1.6.82.1
diff -u -r1.6.82.1 Clipping.cxx
--- openoffice.org.orig/chart2/source/view/main/Clipping.cxx	10 Jan 2008 17:14:29 -0000	1.6.82.1
+++ openoffice.org/chart2/source/view/main/Clipping.cxx	30 Apr 2008 15:09:36 -0000
@@ -192,6 +192,12 @@
     sal_Int32 nNewResultPointCount = rResultPointCount[nPolygonIndex]+1;
     sal_Int32 nSeqLength = pOuterSequenceX->getLength();
 
+    if(nNewResultPointCount<0)
+    {
+        OSL_ENSURE( false, "The point count needs to be > 0");
+        return;
+    }
+
     if( nSeqLength <= nNewResultPointCount )
     {
         sal_Int32 nReallocLength = nReservePointCount;


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/devel/openoffice.org.spec,v
retrieving revision 1.1490
retrieving revision 1.1491
diff -u -r1.1490 -r1.1491
--- openoffice.org.spec	24 Apr 2008 16:35:20 -0000	1.1490
+++ openoffice.org.spec	30 Apr 2008 15:15:09 -0000	1.1491
@@ -3305,7 +3305,7 @@
 %{python_py_sitearch}/unohelper.py*
 
 %changelog
-* Tue Apr 22 2008 Caolan McNamara <caolanm at redhat.com> - 1:3.0.0-0.10.1
+* Wed Apr 30 2008 Caolan McNamara <caolanm at redhat.com> - 1:3.0.0-0.10.1
 - next version
 - drop integrated openoffice.org-2.3.0.ooo82966.svx.missing3d.patch
 - drop integrated openoffice.org-2.2.1.ooo79481.sw.rowordcount.patch
@@ -3314,6 +3314,7 @@
 - drop openoffice.org-2.2.1.ooo78971.xmloff.outofrange.patch
 - drop openoffice.org-2.4.0.ooo85054.stlport.noorigs.patch
 - drop openoffice.org-2.2.0.rh232389.tango.patch
+- Resolves: rhbz#444571 add openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch
 
 * Mon Apr 21 2008 Caolan McNamara <caolanm at redhat.com> - 1:3.0.0-0.9.1
 - Resolves: rhbz#358021 enable BrOffice.org brand




More information about the fedora-extras-commits mailing list