summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-12-15 20:46:34 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-12-27 16:51:27 +0100
commitcb98c423bbdada017a687186a5c06def6cb6f7a2 (patch)
tree18228bb45f72ce8f90ec615841ced901ebeec8b8 /basic/source/classes
parent4088208d731ac281c88a8854978b683aee477385 (diff)
sal_uLong/sal_uIntPtr/sal_uInt16 to sal_uInt32
also avoid some explicit temporaries and group some checks. Change-Id: I7795b208dde53fd383b8c75f72dd9f56429aea2b
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/sb.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index a59da1ee26e6..745f4b30af7f 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -2118,7 +2118,7 @@ void BasicCollection::Notify( SfxBroadcaster& rCst, const SfxHint& rHint )
const SbxHint* p = dynamic_cast<const SbxHint*>(&rHint);
if( p )
{
- sal_uIntPtr nId = p->GetId();
+ const sal_uInt32 nId = p->GetId();
bool bRead = nId == SBX_HINT_DATAWANTED;
bool bWrite = nId == SBX_HINT_DATACHANGED;
bool bRequestInfo = nId == SBX_HINT_INFOWANTED;