rpms/openoffice.org/F-11 openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch, 1.4, 1.5 openoffice.org.spec, 1.1910, 1.1911

Caolan McNamara caolanm at fedoraproject.org
Mon May 25 12:29:41 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/openoffice.org/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25183/F-11

Modified Files:
	openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch 
	openoffice.org.spec 
Log Message:
Resolves: ooo#102194 crash export on .doc with unused style in .toc

openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch:

Index: openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-11/openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch	12 Mar 2009 13:17:27 -0000	1.4
+++ openoffice.org-3.0.1.ooo97488.sw.ww8toc.patch	25 May 2009 12:29:09 -0000	1.5
@@ -325,7 +325,7 @@ diff -u -r1.113.44.3 ww8atr.cxx
 -                                        sTOption += ';';
 -                                    ( sTOption += sStyle ) += sLvl;
 +                                    SwTxtFmtColl* pColl = pDoc->FindTxtFmtCollByName(sStyle);
-+                                    if (!pColl->IsAssignedToListLevelOfOutlineStyle() || pColl->GetAssignedOutlineStyleLevel() < nTOXLvl)
++                                    if (!pColl || !pColl->IsAssignedToListLevelOfOutlineStyle() || pColl->GetAssignedOutlineStyleLevel() < nTOXLvl)
 +                                    {
 +                                        if( sTOption.Len() )
 +                                            sTOption += ',';


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-11/openoffice.org.spec,v
retrieving revision 1.1910
retrieving revision 1.1911
diff -u -p -r1.1910 -r1.1911
--- openoffice.org.spec	23 May 2009 20:24:38 -0000	1.1910
+++ openoffice.org.spec	25 May 2009 12:29:09 -0000	1.1911
@@ -4142,12 +4142,13 @@ fi
     unopkg list --shared > /dev/null 2>&1 || :
 
 %changelog
-* Thu May 07 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.0-11.3
+* Mon May 25 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.0-11.3
 - add in the ia64 and arm fixes for the secondary arch people
 - Resolves(partially): rhbz#495901 No default font-width for wmf export
 - ooo#101567 add Maithili locale data (some dodgy negative value and
   listseperator though)
 - Resolves: rhbz#499474 soffice and .recently-used.xbel
+- Resolves: ooo#102194 crash export on .doc with unused style in .toc
 
 * Tue Apr 27 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.0-11.2
 - Resolves: rhbz#484177 openoffice.org-3.1.0.ooo101354.filter.xhtml.do-not-label-list-headers.patch




More information about the scm-commits mailing list