summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-11-24 15:51:28 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-11-24 15:53:28 +0100
commitbd4f6ffc37e76996f97368bc73844ce68e63acbe (patch)
treef299a819a18126a132265c127102b57dc9a0a111
parentb339863fa9a419896fc1df856bfe0dd7e8be6cd3 (diff)
remove mention-java-common-package.diff, downstreamed to debian-experimental-3.5
-rw-r--r--patches/dev300/apply1
-rw-r--r--patches/dev300/mention-java-common-package.diff56
2 files changed, 0 insertions, 57 deletions
diff --git a/patches/dev300/apply b/patches/dev300/apply
index ce5a4d69f..9967d1a8e 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -345,7 +345,6 @@ debian-default-cairo-disable.diff
# read variables from /etc/libreoffice/sofficerc, since /usr/lib/libreoffice/sofficerc
# just refers to it
oosplash-etc-libreoffice-sofficerc.diff
-mention-java-common-package.diff, ccheney
# mention openoffice.org-report-builder instead of getting people
# to download it from elsewhere
diff --git a/patches/dev300/mention-java-common-package.diff b/patches/dev300/mention-java-common-package.diff
deleted file mode 100644
index 766d0a035..000000000
--- a/patches/dev300/mention-java-common-package.diff
+++ /dev/null
@@ -1,56 +0,0 @@
---- svtools/source/java/javainteractionhandler.cxx~ 2008-04-21 21:43:59.249678235 +0200
-+++ svtools/source/java/javainteractionhandler.cxx 2008-04-21 22:12:26.615433459 +0200
-@@ -75,9 +75,10 @@
- #include <svtools/javainteractionhandler.hxx>
- #include <svtools/javacontext.hxx>
-
-+#define DEFINE_CONST_UNICODE(CONSTASCII) UniString(RTL_CONSTASCII_USTRINGPARAM(CONSTASCII))
-+
- using namespace com::sun::star::uno;
- using namespace com::sun::star::task;
--
- namespace svt
- {
-
-@@ -184,6 +185,9 @@
- aTitle = String( SvtResId( STR_WARNING_JAVANOTFOUND ));
-
- aWarningBox.SetText( aTitle );
-+ String aText = String(aWarningBox.GetMessText());
-+ aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
-+ aWarningBox.SetMessText( aText );
- nResult = aWarningBox.Execute();
-
- }
-@@ -256,6 +260,9 @@
- aTitle = String( SvtResId( STR_QUESTION_JAVADISABLED ));
-
- aQueryBox.SetText( aTitle );
-+ String aText = String(aQueryBox.GetMessText());
-+ aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
-+ aQueryBox.SetMessText( aText );
- nResult = aQueryBox.Execute();
- if ( nResult == RET_YES )
- {
-@@ -297,6 +304,9 @@
- aTitle = String( SvtResId(STR_ERROR_JVMCREATIONFAILED));
-
- aErrorBox.SetText( aTitle );
-+ String aText = String(aErrorBox.GetMessText());
-+ aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
-+ aErrorBox.SetMessText( aText );
- nResult = aErrorBox.Execute();
- }
- else
---- jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx.orig 2008-04-11 05:19:31.000000000 -0500
-+++ jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx 2009-03-05 19:54:38.000000000 -0600
-@@ -111,6 +111,9 @@
- if (errcode == JFW_E_NO_JAVA_FOUND)
- {
- fprintf(stderr,"javaldx: Could not find a Java Runtime Environment! \n");
-+ fprintf(stderr,"Please ensure that a JVM and the package libreoffice-java-common\n");
-+ fprintf(stderr,"is installed.\n");
-+ fprintf(stderr,"If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml\n");
- return false;
- }
- else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)