diff options
Diffstat (limited to 'winaccessibility/source/service/AccObject.cxx')
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index 608a1978409c..96016251a1b0 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -386,7 +386,7 @@ void AccObject::SetValue( Any pAny ) return ; } Reference< XAccessibleText > pRText(m_xAccContextRef,UNO_QUERY); - ::rtl::OUString val; + OUString val; switch(m_accRole) { case SPIN_BOX: @@ -422,9 +422,9 @@ void AccObject::SetValue( Any pAny ) return; } -::rtl::OUString AccObject::GetMAccessibleValueFromAny(Any pAny) +OUString AccObject::GetMAccessibleValueFromAny(Any pAny) { - ::rtl::OUString strValue; + OUString strValue; if(nullptr == m_pIMAcc) return strValue; @@ -434,19 +434,19 @@ void AccObject::SetValue( Any pAny ) sal_uInt16 val; if (pAny >>= val) { - strValue=::rtl::OUString::number(val); + strValue=OUString::number(val); } } - else if(pAny.getValueType() == cppu::UnoType<rtl::OUString>::get()) + else if(pAny.getValueType() == cppu::UnoType<OUString>::get()) { pAny >>= strValue ; } - else if(pAny.getValueType() == cppu::UnoType<Sequence< ::rtl::OUString >>::get()) + else if(pAny.getValueType() == cppu::UnoType<Sequence< OUString >>::get()) { - Sequence< ::rtl::OUString > val; + Sequence< OUString > val; if (pAny >>= val) { @@ -464,7 +464,7 @@ void AccObject::SetValue( Any pAny ) double val; if (pAny >>= val) { - strValue=::rtl::OUString::number(val); + strValue=OUString::number(val); } } else if(pAny.getValueType() == cppu::UnoType<sal_Int32>::get()) @@ -472,7 +472,7 @@ void AccObject::SetValue( Any pAny ) sal_Int32 val; if (pAny >>= val) { - strValue=::rtl::OUString::number(val); + strValue=OUString::number(val); } } else if (pAny.getValueType() == cppu::UnoType<css::accessibility::TextSegment>::get()) @@ -480,7 +480,7 @@ void AccObject::SetValue( Any pAny ) css::accessibility::TextSegment val; if (pAny >>= val) { - ::rtl::OUString realVal(val.SegmentText); + OUString realVal(val.SegmentText); strValue = realVal; } @@ -752,7 +752,7 @@ void AccObject::UpdateActionDesc() return; } - ::rtl::OUString pXString = m_xAccContextRef->getAccessibleDescription(); + OUString pXString = m_xAccContextRef->getAccessibleDescription(); m_pIMAcc->Put_XAccDescription(o3tl::toW(pXString.getStr())); long Role = m_accRole; |