summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Dialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
index dbe41168f256..3158cfe32bd4 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
@@ -244,7 +244,7 @@ public class Dialog extends java.awt.Dialog implements javax.accessibility.Acces
// dispatch thread ..
javax.accessibility.AccessibleContext ac = accessibleContext;
if (ac!= null) {
- ac.setAccessibleDescription(title);
+ ac.setAccessibleName(title);
}
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -410,7 +410,7 @@ public class Dialog extends java.awt.Dialog implements javax.accessibility.Acces
}
}
- /** Invoked when a window is changed from a minimized to a normal state. */
+ /** Invoked when a window is changed from a minimized to a normal state. */
public void windowDeiconified(java.awt.event.WindowEvent e) {
if (Build.DEBUG) {
System.err.println("[Dialog] " + getTitle() + " has been deiconified");