diff options
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx index d622f38f0ab7..193463df6648 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx @@ -119,13 +119,13 @@ namespace accessibility SolarMethodGuard aGuard(getMutex()); ensureIsAlive(); - if ( !implIsValidIndex( nIndex, implGetText().getLength() ) ) - throw IndexOutOfBoundsException(); - css::awt::Rectangle aRect; if ( mpBrowseBox ) { + if ( !implIsValidIndex( nIndex, implGetText().getLength() ) ) + throw IndexOutOfBoundsException(); + aRect = AWTRectangle( mpBrowseBox->GetFieldCharacterBounds( getRowPos(), getColumnPos(), nIndex ) ); } |