[writer2latex] Adapt patch to building with gcj

sbergmann sbergmann at fedoraproject.org
Fri Feb 22 16:04:54 UTC 2013


commit e0698db2ccc1f6065b89b15e5de325d442d3b633
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 22 16:56:35 2013 +0100

    Adapt patch to building with gcj

 XDocumentPropertiesSupplier-writer2xhtml.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/XDocumentPropertiesSupplier-writer2xhtml.patch b/XDocumentPropertiesSupplier-writer2xhtml.patch
index 1ae7595..6a0f656 100644
--- a/XDocumentPropertiesSupplier-writer2xhtml.patch
+++ b/XDocumentPropertiesSupplier-writer2xhtml.patch
@@ -43,7 +43,7 @@ Index: trunk/source/java/org/openoffice/da/comp/writer2xhtml/BatchConverter.java
 -            }
 -            catch (com.sun.star.lang.IllegalArgumentException e) {
 -            }
-+        XDocumentProperties docProps = UnoRuntime.queryInterface(XDocumentPropertiesSupplier.class, xDocument).getDocumentProperties();
++        XDocumentProperties docProps = ((XDocumentPropertiesSupplier) UnoRuntime.queryInterface(XDocumentPropertiesSupplier.class, xDocument)).getDocumentProperties();
 +        String loadedTitle = docProps.getTitle();
 +        if (bUseTitle && loadedTitle.length()>0) {
 +            entry.setDisplayName(loadedTitle);


More information about the scm-commits mailing list