diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /external/languagetool/MessageBox-apichange.patch | |
parent | Initial commit. (diff) | |
download | libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/languagetool/MessageBox-apichange.patch')
-rw-r--r-- | external/languagetool/MessageBox-apichange.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/external/languagetool/MessageBox-apichange.patch b/external/languagetool/MessageBox-apichange.patch new file mode 100644 index 000000000..ceea259b8 --- /dev/null +++ b/external/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 ++} |