Kaydet (Commit) 46c77dca authored tarafından Herbert Dürr's avatar Herbert Dürr

#i107914# fix another build breaker on 64bit platforms

üst ddf54d68
......@@ -673,7 +673,7 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleList::getAccessibleChild (sal_Int3
Reference< XAccessible > xChild;
// search for the child
if ( static_cast<sal_uInt16>(i) >= m_aAccessibleChildren.size() )
if ( i >= static_cast<sal_Int32>(m_aAccessibleChildren.size()) )
xChild = CreateChild (i);
else
{
......
......@@ -1795,7 +1795,7 @@ namespace accessibility
if (rRes.Name.compareTo(::rtl::OUString::createFromAscii("CharColor"))==0)
{
uno::Any &anyChar = rRes.Value;
sal_uInt32 crChar = (sal_uInt32)(anyChar.pReserved);
sal_uInt32 crChar = static_cast<sal_uInt32>( reinterpret_cast<sal_uIntPtr>(anyChar.pReserved));
if (COL_AUTO == crChar )
{
uno::Reference< ::com::sun::star::accessibility::XAccessibleComponent > xComponent;
......@@ -1854,7 +1854,7 @@ namespace accessibility
if(rRes.Name.compareTo(::rtl::OUString::createFromAscii("CharUnderlineColor"))==0)
{
uno::Any &anyCharUnderLine = rRes.Value;
sal_uInt32 crCharUnderLine = (sal_uInt32)(anyCharUnderLine.pReserved);
sal_uInt32 crCharUnderLine = static_cast<sal_uInt32>( reinterpret_cast<sal_uIntPtr>( anyCharUnderLine.pReserved));
if (COL_AUTO == crCharUnderLine )
{
uno::Reference< ::com::sun::star::accessibility::XAccessibleComponent > xComponent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment