diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-04-09 08:38:15 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-04-09 08:39:43 +0900 |
commit | d38dfc36c0414e101debc970b8677db228db3bf0 (patch) | |
tree | 8f195a8a54ce433a0b28aa7b170cf2d8293bc676 | |
parent | e248db713ad4edf73a9ba5d9307bc70413536fc5 (diff) |
introduced a mutex guard for SmGraphicAccessible::setCaretPosition()
-rw-r--r-- | starmath/source/accessibility.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 8f38950e49..8a885f6e39 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -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())) |