diff options
Diffstat (limited to 'svx/source/accessibility/AccessibleShape.cxx')
-rw-r--r-- | svx/source/accessibility/AccessibleShape.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index 5fbf4f4ebdec..0ed06acab198 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -418,7 +418,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL xTempAccContext->getAccessibleStateSet(); if (rState.is()) { - css::uno::Sequence<short> aStates = rState->getStates(); + const css::uno::Sequence<short> aStates = rState->getStates(); if (std::find(aStates.begin(), aStates.end(), AccessibleStateType::EDITABLE) != aStates.end()) { pStateSet->AddState (AccessibleStateType::EDITABLE); @@ -787,7 +787,7 @@ sal_Bool SAL_CALL AccessibleShape::isAccessibleChildSelected( sal_Int32 nChildIn if( !pRState.is() ) return false; - uno::Sequence<short> aStates = pRState->getStates(); + const uno::Sequence<short> aStates = pRState->getStates(); return std::find(aStates.begin(), aStates.end(), AccessibleStateType::SELECTED) != aStates.end(); } } |