Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / languagetool / MessageBox-apichange.patch
blobceea259b88acd3f228154b114bbe15a3f492213e
1 --- misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/openoffice/OOoAboutDialog.java 2013-07-11 13:33:26.681387525 +0100
2 +++ misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/openoffice/OOoAboutDialog.java 2013-07-11 13:34:46.666424549 +0100
3 @@ -19,6 +19,7 @@
4 package org.languagetool.openoffice;
6 import com.sun.star.awt.Rectangle;
7 +import com.sun.star.awt.MessageBoxType;
8 import com.sun.star.awt.XMessageBox;
9 import com.sun.star.awt.XMessageBoxFactory;
10 import com.sun.star.awt.XWindowPeer;
11 @@ -49,16 +50,14 @@
12 .getString("guiMenuAbout"));
13 final XMessageBoxFactory messageBoxFactory = (XMessageBoxFactory) UnoRuntime
14 .queryInterface(XMessageBoxFactory.class, winPeer.getToolkit());
15 - final Rectangle messageBoxRectangle = new Rectangle();
16 final XMessageBox box = messageBoxFactory
17 .createMessageBox(
18 winPeer,
19 - messageBoxRectangle,
20 - "infobox",
21 + MessageBoxType.INFOBOX,
23 aboutDialogTitle,
24 getAboutText());
25 box.execute();
29 \ No newline at end of file