diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-12-15 20:46:34 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-12-27 16:51:27 +0100 |
commit | cb98c423bbdada017a687186a5c06def6cb6f7a2 (patch) | |
tree | 18228bb45f72ce8f90ec615841ced901ebeec8b8 /sc/source/ui/unoobj/docuno.cxx | |
parent | 4088208d731ac281c88a8854978b683aee477385 (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 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 7a7b0644ef5e..2bdab211823f 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1063,7 +1063,7 @@ void ScModelObj::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint); if ( pSimpleHint ) { - sal_uLong nId = pSimpleHint->GetId(); + const sal_uInt32 nId = pSimpleHint->GetId(); if ( nId == SFX_HINT_DYING ) { pDocShell = nullptr; // has become invalid |