rpms/openoffice.org/devel openoffice.org-3.1.0.ooo98465.sw.fix-doctables.patch, NONE, 1.1 openoffice.org.spec, 1.1823, 1.1824

David Tardon dtardon at fedoraproject.org
Tue Feb 24 07:02:31 UTC 2009


Author: dtardon

Update of /cvs/extras/rpms/openoffice.org/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18317

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-3.1.0.ooo98465.sw.fix-doctables.patch 
Log Message:
Resolves: rhbz#486958 Openoffice crashes when saving tables in .doc format

openoffice.org-3.1.0.ooo98465.sw.fix-doctables.patch:

--- NEW FILE openoffice.org-3.1.0.ooo98465.sw.fix-doctables.patch ---
Index: sw/source/filter/ww8/WW8TableInfo.cxx
===================================================================
--- sw/source/filter/ww8/WW8TableInfo.cxx	(révision 267004)
+++ sw/source/filter/ww8/WW8TableInfo.cxx	(copie de travail)
@@ -267,7 +267,7 @@
                 if (nDepthInsideCell == 1 && pEndOfCellInfo.get() == NULL)
                     pEndOfCellInfo = pNodeInfo;
                 
-                SwEndNode * pEndNode = dynamic_cast<SwEndNode *> (&rNode);                
+                SwEndNode * pEndNode = rNode.GetEndNode( );
                 SwStartNode * pTmpSttNd = pEndNode->StartOfSectionNode();
                 if (pTmpSttNd == pSttNd)
                     bDone = true;


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/extras/rpms/openoffice.org/devel/openoffice.org.spec,v
retrieving revision 1.1823
retrieving revision 1.1824
diff -u -r1.1823 -r1.1824
--- openoffice.org.spec	23 Feb 2009 15:23:14 -0000	1.1823
+++ openoffice.org.spec	24 Feb 2009 07:02:01 -0000	1.1824
@@ -128,6 +128,7 @@
 Patch55: openoffice.org-3.1.0.ooo99526.sw.mailmergeup.outofrange.patch
 Patch56: openoffice.org-3.1.0.ooo99529.sw.notrailingnewline.patch
 Patch57: openoffice.org-3.1.0.ooo99541.sw.reopen.flat.addrbooks.patch
+Patch58: openoffice.org-3.1.0.ooo98465.sw.fix-doctables.patch
 
 %define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")
 %define instdir %{_libdir}
@@ -1590,6 +1591,7 @@
 %patch55 -p0 -b .ooo99526.sw.mailmergeup.outofrange.patch
 %patch56 -p0 -b .ooo99529.sw.notrailingnewline.patch
 %patch57 -p0 -b .ooo99541.sw.reopen.flat.addrbooks.patch
+%patch58 -p0 -b .ooo98465.sw.fix-doctables.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -4104,6 +4106,7 @@
 - Resolves: rhbz#486807 add openoffice.org-3.1.0.ooo99526.sw.mailmergeup.outofrange.patch
 - Resolves: rhbz#486934 add openoffice.org-3.1.0.ooo99529.sw.notrailingnewline.patch
 - add openoffice.org-3.1.0.ooo99541.sw.reopen.flat.addrbooks.patch
+- Resolves: rhbz#486958 add openoffice.org-3.1.0.ooo98465.sw.fix-doctables.patch
 
 * Fri Feb 20 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.0-2.1
 - next milestone




More information about the scm-commits mailing list