introduced a mutex guard for SmGraphicAccessible::setCaretPosition()
This commit is contained in:
parent
a5a6a1ee9d
commit
47bd18c074
1 changed files with 1 additions and 0 deletions
|
@ -462,6 +462,7 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getCaretPosition()
|
|||
sal_Bool SAL_CALL SmGraphicAccessible::setCaretPosition( sal_Int32 nIndex )
|
||||
throw (IndexOutOfBoundsException, RuntimeException)
|
||||
{
|
||||
SolarMutexGuard aGuard;
|
||||
xub_StrLen nIdx = (xub_StrLen) nIndex;
|
||||
String aTxt( GetAccessibleText_Impl() );
|
||||
if (!(nIdx < aTxt.Len()))
|
||||
|
|
Loading…
Reference in a new issue