diff options
author | Stephan Wunderlich <sw@openoffice.org> | 2003-03-31 11:43:47 +0000 |
---|---|---|
committer | Stephan Wunderlich <sw@openoffice.org> | 2003-03-31 11:43:47 +0000 |
commit | 00c6184570fd5f9dbf1cda64226c749d58e16cd4 (patch) | |
tree | 565515969b6365e32e0b35138c81265dea8fc748 | |
parent | 80bc28dc7157bb7e02f00dd0df4b9b902a827989 (diff) |
CHG: using aRect/2 for getIndexAtPoint()
-rw-r--r-- | qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java index 25b0456ae433..965714175aef 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java @@ -2,9 +2,9 @@ * * $RCSfile: _XAccessibleText.java,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change:$Date: 2003-03-26 14:54:56 $ + * last change:$Date: 2003-03-31 12:43:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -445,7 +445,7 @@ public class _XAccessibleText extends MultiMethodTest { } int x = aRect.X+aRect.Width/2; - int y = bounds.Height/2; + int y = aRect.Height/2; Point aPoint = new Point( x,y); int nIndex = oObj.getIndexAtPoint( aPoint ); if ( nIndex != i ) |