rpms/openoffice.org-extendedPDF/F-10 openoffice.org-extendedPDF-1.4.0-oooVersion.patch, NONE, 1.1

Orion Poplawski orion at fedoraproject.org
Tue Apr 14 22:20:19 UTC 2009


Author: orion

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

Added Files:
	openoffice.org-extendedPDF-1.4.0-oooVersion.patch 
Log Message:
Add the patch

openoffice.org-extendedPDF-1.4.0-oooVersion.patch:

--- NEW FILE openoffice.org-extendedPDF-1.4.0-oooVersion.patch ---
--- extendedPDF/pdfm.xba.oooVersion	2006-08-11 10:51:02.000000000 -0600
+++ extendedPDF/pdfm.xba	2009-04-14 15:58:53.000000000 -0600
@@ -332,7 +332,7 @@
 	
 	' Subject property changes between OOo 1 and 2. Use of GetSolarVersion
 	' fix by James Holgate.
-	if GetSolarVersion < 646 then 'openoffice.org version 1.x.x or equivalent
+	if left(oooVersion, 3) = "1.0" or left(oooVersion, 3) = "1.1" then 'openoffice.org version 1.x.x or equivalent
         ' Thanks to Petr Ferdus for finding the right property here
         if not isNull(documentInfo.theme) and not isEmpty(documentInfo.theme) then
             s = s & " /Subject " & epdf_pdfu_hexEncodePdfText(documentInfo.theme, errorCode)




More information about the fedora-extras-commits mailing list