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

#i107914# IA2 build fixes in SW-module for 64bit platforms

üst 46c77dca
...@@ -125,7 +125,7 @@ public: ...@@ -125,7 +125,7 @@ public:
//===== XAccessibleContext ============================================== //===== XAccessibleContext ==============================================
/// Return the number of currently visible children. /// Return the number of currently visible children.
virtual long SAL_CALL getAccessibleChildCount (void) virtual sal_Int32 SAL_CALL getAccessibleChildCount (void)
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException);
/// Return the specified child or NULL if index is invalid. /// Return the specified child or NULL if index is invalid.
......
...@@ -2533,7 +2533,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex, ...@@ -2533,7 +2533,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex,
if (rValue.Name.compareTo(::rtl::OUString::createFromAscii( GetPropName( UNO_NAME_CHAR_BACK_COLOR ).pName ) )==0) if (rValue.Name.compareTo(::rtl::OUString::createFromAscii( GetPropName( UNO_NAME_CHAR_BACK_COLOR ).pName ) )==0)
{ {
uno::Any &anyChar = rValue.Value; uno::Any &anyChar = rValue.Value;
sal_uInt32 crBack = (sal_uInt32)(anyChar.pReserved); sal_uInt32 crBack = static_cast<sal_uInt32>( reinterpret_cast<sal_uIntPtr>(anyChar.pReserved));
if (COL_AUTO == crBack) if (COL_AUTO == crBack)
{ {
uno::Reference<XAccessibleComponent> xComponent(this); uno::Reference<XAccessibleComponent> xComponent(this);
...@@ -2552,7 +2552,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex, ...@@ -2552,7 +2552,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex,
if( GetPortionData().IsInGrayPortion( nIndex ) ) if( GetPortionData().IsInGrayPortion( nIndex ) )
rValue.Value <<= SwViewOption::GetFieldShadingsColor().GetColor(); rValue.Value <<= SwViewOption::GetFieldShadingsColor().GetColor();
uno::Any &anyChar = rValue.Value; uno::Any &anyChar = rValue.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 ) if( COL_AUTO == crChar )
{ {
...@@ -2609,7 +2609,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex, ...@@ -2609,7 +2609,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex,
} }
uno::Any &anyChar = rValue.Value; uno::Any &anyChar = rValue.Value;
sal_uInt32 crUnderline = (sal_uInt32)(anyChar.pReserved); sal_uInt32 crUnderline = static_cast<sal_uInt32>( reinterpret_cast<sal_uIntPtr>(anyChar.pReserved));
if ( COL_AUTO == crUnderline ) if ( COL_AUTO == crUnderline )
{ {
uno::Reference<XAccessibleComponent> xComponent(this); uno::Reference<XAccessibleComponent> xComponent(this);
......
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