diff options
Diffstat (limited to 'desktop/test/deployment/active/Dispatch.java')
-rw-r--r-- | desktop/test/deployment/active/Dispatch.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/test/deployment/active/Dispatch.java b/desktop/test/deployment/active/Dispatch.java index d7f1cd1d9536..6fb3fa9d2c8b 100644 --- a/desktop/test/deployment/active/Dispatch.java +++ b/desktop/test/deployment/active/Dispatch.java @@ -24,6 +24,7 @@ package com.sun.star.comp.test.deployment.active_java; import com.sun.star.awt.MessageBoxButtons; +import com.sun.star.awt.MessageBoxType; import com.sun.star.awt.Rectangle; import com.sun.star.awt.XMessageBox; import com.sun.star.awt.XMessageBoxFactory; @@ -74,7 +75,7 @@ public final class Dispatch extends WeakBase implements XServiceInfo, XDispatch smgr.createInstanceWithContext( "com.sun.star.frame.Desktop", context)). getCurrentFrame().getComponentWindow())), - new Rectangle(), "infobox", MessageBoxButtons.BUTTONS_OK, + MessageBoxType.INFOBOX, MessageBoxButtons.BUTTONS_OK, "active", "java"); box.execute(); UnoRuntime.queryInterface(XComponent.class, box).dispose(); |