summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/CppunitTest_starmath_qa_cppunit.mk2
-rw-r--r--starmath/source/accessibility.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/starmath/CppunitTest_starmath_qa_cppunit.mk b/starmath/CppunitTest_starmath_qa_cppunit.mk
index 2d03bbb01a31..0f4606a2064e 100644
--- a/starmath/CppunitTest_starmath_qa_cppunit.mk
+++ b/starmath/CppunitTest_starmath_qa_cppunit.mk
@@ -97,10 +97,10 @@ $(eval $(call gb_RdbTarget_add_components,starmath_qa_cppunit,\
))
$(eval $(call gb_RdbTarget_add_old_components,starmath_qa_cppunit,\
+ component/vcl/vcl \
configmgr \
i18npool \
mcnttype \
- vcl \
))
ifeq ($(strip $(OS)),WNT)
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 590d3fa5eb68..426d0a61c294 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()))