[Libreoffice-commits] .: Branch 'libreoffice-3-4' - starmath/source

Takeshi Abe tabe at kemper.freedesktop.org
Fri Apr 8 16:40:27 PDT 2011


 starmath/source/accessibility.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d38dfc36c0414e101debc970b8677db228db3bf0
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sat Apr 9 08:38:15 2011 +0900

    introduced a mutex guard for SmGraphicAccessible::setCaretPosition()

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()))


More information about the Libreoffice-commits mailing list