diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-11 13:40:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-11 13:40:24 +0100 |
commit | 51908951143aa97022023c336cee64cae202346c (patch) | |
tree | d841dc728677c58a03b4c3d1907ca8f8dd317f53 /languagetool | |
parent | a45f6814c9d02fa3e3deed250c4f154c805e6570 (diff) |
add patch
Change-Id: I4cc4f3dda5bcf30704bc6a448c85546d3af46c46
Diffstat (limited to 'languagetool')
-rw-r--r-- | languagetool/MessageBox-apichange.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/languagetool/MessageBox-apichange.patch b/languagetool/MessageBox-apichange.patch new file mode 100644 index 000000000000..ceea259b88ac --- /dev/null +++ b/languagetool/MessageBox-apichange.patch @@ -0,0 +1,30 @@ +--- misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/openoffice/OOoAboutDialog.java 2013-07-11 13:33:26.681387525 +0100 ++++ misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/openoffice/OOoAboutDialog.java 2013-07-11 13:34:46.666424549 +0100 +@@ -19,6 +19,7 @@ + package org.languagetool.openoffice; + + import com.sun.star.awt.Rectangle; ++import com.sun.star.awt.MessageBoxType; + import com.sun.star.awt.XMessageBox; + import com.sun.star.awt.XMessageBoxFactory; + import com.sun.star.awt.XWindowPeer; +@@ -49,16 +50,14 @@ + .getString("guiMenuAbout")); + final XMessageBoxFactory messageBoxFactory = (XMessageBoxFactory) UnoRuntime + .queryInterface(XMessageBoxFactory.class, winPeer.getToolkit()); +- final Rectangle messageBoxRectangle = new Rectangle(); + final XMessageBox box = messageBoxFactory + .createMessageBox( + winPeer, +- messageBoxRectangle, +- "infobox", ++ MessageBoxType.INFOBOX, + 0, + aboutDialogTitle, + getAboutText()); + box.execute(); + } + +-} +\ No newline at end of file ++} |