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/runtime/stdobj.cxx | |
parent | c1edceb2f3c9ce8065db3f0a7635e0276cb8434e (diff) |
sal_uIntPtr to sal_uInt32, for consistency
Change-Id: Ib78dce61e8fb8c8e3bf8c7a2b02966100a4db0e8
Diffstat (limited to 'basic/source/runtime/stdobj.cxx')
-rw-r--r-- | basic/source/runtime/stdobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx index 05700d679beb..e19168c501ee 100644 --- a/basic/source/runtime/stdobj.cxx +++ b/basic/source/runtime/stdobj.cxx @@ -825,11 +825,11 @@ void SbiStdObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SbxVariable* pVar = pHint->GetVar(); SbxArray* pPar_ = pVar->GetParameters(); sal_uLong t = pHint->GetId(); - sal_uInt16 nCallId = (sal_uInt16) pVar->GetUserData(); + const sal_uInt16 nCallId = static_cast<sal_uInt16>(pVar->GetUserData()); if( nCallId ) { if( t == SBX_HINT_INFOWANTED ) - pVar->SetInfo( GetInfo( (short) pVar->GetUserData() ) ); + pVar->SetInfo( GetInfo( static_cast<short>(pVar->GetUserData()) ) ); else { bool bWrite = false; |