rpms/openoffice.org/FC-6 openoffice.org-2.1.0.ooo61812.svx.a11ycrash.patch, NONE, 1.1 openoffice.org.spec, 1.903, 1.904

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Nov 9 15:07:05 UTC 2006


Author: caolanm

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

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-2.1.0.ooo61812.svx.a11ycrash.patch 
Log Message:
rhbz#214773 crash on joining editengine paragraphs under a11y

openoffice.org-2.1.0.ooo61812.svx.a11ycrash.patch:
 source/outliner/outliner.cxx     |    0 
 svx/source/outliner/outliner.cxx |    7 +++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

--- NEW FILE openoffice.org-2.1.0.ooo61812.svx.a11ycrash.patch ---
Index: source/outliner/outliner.cxx
===================================================================
RCS file: /cvs/graphics/svx/source/outliner/outliner.cxx,v
retrieving revision 1.69
diff -u -r1.69 outliner.cxx
--- openoffice.org.orig/svx/source/outliner/outliner.cxx	12 Oct 2006 13:02:06 -0000	1.69
+++ openoffice.org/svx/source/outliner/outliner.cxx	9 Nov 2006 15:01:03 -0000
@@ -1964,9 +1964,12 @@
     EBulletInfo aInfo;
 
     aInfo.nParagraph = nPara;
-    aInfo.bVisible = ImplHasBullet( nPara );
 
-    const SvxNumberFormat* pFmt = ImplGetBullet( nPara );
+    DBG_ASSERT(pParaList && pParaList->GetParagraphCount() > nPara, "Paragraph out of range\n");
+
+    aInfo.bVisible = (pParaList && pParaList->GetParagraphCount() > nPara) ? ImplHasBullet( nPara ) : false;
+
+    const SvxNumberFormat* pFmt = (pParaList && pParaList->GetParagraphCount() > nPara) ? ImplGetBullet( nPara ) : 0;
     aInfo.nType = pFmt ? pFmt->GetNumberingType() : 0;
 
     if( pFmt )


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/dist/rpms/openoffice.org/FC-6/openoffice.org.spec,v
retrieving revision 1.903
retrieving revision 1.904
diff -u -r1.903 -r1.904
--- openoffice.org.spec	9 Nov 2006 14:16:30 -0000	1.903
+++ openoffice.org.spec	9 Nov 2006 15:07:02 -0000	1.904
@@ -142,6 +142,7 @@
 Patch74: openoffice.org-2.0.4.ooo71285.tools.ulongmax.patch
 Patch75: openoffice.org-2.1.0.ooo65491.psprint.enablenups.patch
 Patch76: openoffice.org-2.1.0.ooo71379.psprint.endfeatureonnewline.patch
+Patch77: openoffice.org-2.1.0.ooo61812.svx.a11ycrash.patch
 
 %define instdir %{_libdir}/openoffice.org2.0
 
@@ -1018,6 +1019,7 @@
 %patch74 -p1 -b .ooo71285.tools.ulongmax.patch
 %patch75 -p1 -b .ooo65491.psprint.enablenups.patch
 %patch76 -p1 -b .ooo71379.psprint.endfeatureonnewline.patch
+%patch77 -p1 -b .ooo61812.svx.a11ycrash.patch
 
 tar xzf %{SOURCE1}
 
@@ -2547,6 +2549,7 @@
 - Resolves: rhbz#213996 openoffice.org-2.1.0.ooo65491.psprint.enablenups.patch
 - Resolves: rhbz#213996 distinguish properly between ppd and cups option
 - Resolves: rhbz#213996 openoffice.org-2.1.0.ooo71379.psprint.endfeatureonnewline.patch
+- Resolves: rhbz#214773 openoffice.org-2.1.0.ooo61812.svx.a11ycrash.patch
 
 * Tue Nov 07 2006 Caolan McNamara <caolanm at redhat.com> - 1:2.0.4-5.5.1
 - add openoffice.org-2.0.4.ooo70601.sd.sal_uInt32_aslong.patch




More information about the fedora-cvs-commits mailing list