[PATCH] guarded by mutex

Takeshi Abe tabe at fixedpoint.jp
Thu Apr 7 05:24:23 PDT 2011


---
 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 8f38950..8a885f6 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()))
-- 
1.7.2.5


----Next_Part(Thu_Apr__7_21_35_37_2011_326)----


More information about the LibreOffice mailing list