[writer2latex] Adapt patch to old sources and building with gcj
sbergmann
sbergmann at fedoraproject.org
Fri Feb 22 16:04:43 UTC 2013
commit ac6e1953703194b724b5a3db270df8bd9c91ee73
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 22 16:27:52 2013 +0100
Adapt patch to old sources and building with gcj
XDocumentPropertiesSupplier.patch | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/XDocumentPropertiesSupplier.patch b/XDocumentPropertiesSupplier.patch
index 94b3d98..b2e2045 100644
--- a/XDocumentPropertiesSupplier.patch
+++ b/XDocumentPropertiesSupplier.patch
@@ -10,7 +10,7 @@ Index: trunk/source/java/org/openoffice/da/comp/w2lcommon/filter/OptionsDialogBa
+import com.sun.star.document.XDocumentPropertiesSupplier;
import com.sun.star.frame.XDesktop;
import com.sun.star.lang.XComponent;
- import com.sun.star.lang.XMultiServiceFactory;
+ import com.sun.star.lang.IllegalArgumentException;
@@ -179,13 +179,9 @@
XComponent xComponent = xDesktop.getCurrentComponent();
@@ -21,8 +21,8 @@ Index: trunk/source/java/org/openoffice/da/comp/w2lcommon/filter/OptionsDialogBa
- XPropertySet xDocInfo = (XPropertySet)
- UnoRuntime.queryInterface(XPropertySet.class, docInfo);
-
-- return XPropertySetHelper.getPropertyValueAsString(xDocInfo,"Template");
-+ XDocumentPropertiesSupplier xDocPropsSuppl =
+- return getPropertyValueAsString(xDocInfo,"Template");
++ XDocumentPropertiesSupplier xDocPropsSuppl = (XDocumentPropertiesSupplier)
+ UnoRuntime.queryInterface(XDocumentPropertiesSupplier.class, xComponent);
+ return xDocPropsSuppl.getDocumentProperties().getTemplateName();
}
More information about the scm-commits
mailing list