diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-07-18 08:49:43 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-07-19 17:12:32 +0200 |
commit | f7a2795c881c2eba95aa09f21881f842281ae819 (patch) | |
tree | 016f3241b2136c299b3d840e3075400fe5b429a5 /basic/source/sbx/sbxvalue.cxx | |
parent | c1edceb2f3c9ce8065db3f0a7635e0276cb8434e (diff) |
sal_uIntPtr to sal_uInt32, for consistency
Change-Id: Ib78dce61e8fb8c8e3bf8c7a2b02966100a4db0e8
Diffstat (limited to 'basic/source/sbx/sbxvalue.cxx')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 5323d87cd98b..3132b731fa4c 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -195,7 +195,7 @@ void SbxValue::Clear() SAL_INFO("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); bool bParentProp = pThisVar && 5345 == - ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); + static_cast<sal_uInt16>(pThisVar->GetUserData()); if ( !bParentProp ) aData.pObj->ReleaseRef(); } @@ -220,7 +220,7 @@ void SbxValue::Clear() // Dummy -void SbxValue::Broadcast( sal_uIntPtr ) +void SbxValue::Broadcast( sal_uInt32 ) {} //////////////////////////// Readout data @@ -541,7 +541,7 @@ bool SbxValue::Put( const SbxValues& rVal ) SAL_INFO("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); bool bParentProp = pThisVar && 5345 == - ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); + static_cast<sal_uInt16>(pThisVar->GetUserData()); if ( !bParentProp ) p->aData.pObj->AddFirstRef(); } @@ -804,7 +804,7 @@ bool SbxValue::SetType( SbxDataType t ) SAL_WARN("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); sal_uInt16 nSlotId = pThisVar - ? ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ) + ? static_cast<sal_uInt16>(pThisVar->GetUserData()) : 0; DBG_ASSERT( nSlotId != 5345 || pThisVar->GetName() == "Parent", "SID_PARENTOBJECT is not named 'Parent'" ); |