rpms/openoffice.org/F-9 openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch, NONE, 1.1 openoffice.org.spec, 1.1477, 1.1478
Caolan McNamara (caolanm)
fedora-extras-commits at redhat.com
Wed Apr 30 15:18:29 UTC 2008
Author: caolanm
Update of /cvs/pkgs/rpms/openoffice.org/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9780
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/F-9/openoffice.org.spec,v
retrieving revision 1.1477
retrieving revision 1.1478
diff -u -r1.1477 -r1.1478
--- openoffice.org.spec 26 Apr 2008 18:47:28 -0000 1.1477
+++ openoffice.org.spec 30 Apr 2008 15:17:44 -0000 1.1478
@@ -1,6 +1,6 @@
%define oootag OOH680
%define ooomilestone 12
-%define rh_rpm_release 8
+%define rh_rpm_release 9
# undef to get english only and no-langpacks for a faster smoketest build
%define langpacks 1
@@ -152,6 +152,7 @@
Patch79: openoffice.org-3.0.0.ooo87991.fpickersafe.patch
Patch80: openoffice.org-3.0.0.ooo88033.svx.a11ycrash.patch
Patch81: openoffice.org-2.4.0.ooo87071.sd.backgroundfix.patch
+Patch82: openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch
%define instdir %{_libdir}/openoffice.org
@@ -1118,6 +1119,7 @@
%patch79 -p1 -b .ooo87991.fpickersafe.patch
%patch80 -p1 -b .ooo88033.svx.a11ycrash.patch
%patch81 -p1 -b .ooo87071.sd.backgroundfix.patch
+%patch82 -p1 -b .ooo88090.chart2.negativecount.patch
%build
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -2904,6 +2906,9 @@
%changelog
+* Wed Apr 30 2008 Caolan McNamara <caolanm at redhat.com> - 1:2.4.0-12.9-UNRELEASED
+- Resolves: rhbz#444571 add openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch
+
* Sat Apr 26 2008 Caolan McNamara <caolanm at redhat.com> - 1:2.4.0-12.8
- add openoffice.org-2.4.0.ooo87071.sd.backgroundfix.patch
More information about the fedora-extras-commits
mailing list