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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/uibase/app/apphdl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx index bd18537a5e39..e4e34c9177fc 100644 --- a/sw/source/uibase/app/apphdl.cxx +++ b/sw/source/uibase/app/apphdl.cxx @@ -746,8 +746,7 @@ void SwModule::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint ) } else if(dynamic_cast<const SfxSimpleHint*>(&rHint)) { - sal_uInt16 nHintId = static_cast<const SfxSimpleHint&>(rHint).GetId(); - if(SFX_HINT_DEINITIALIZING == nHintId) + if (static_cast<const SfxSimpleHint&>(rHint).GetId() == SFX_HINT_DEINITIALIZING) { DELETEZ(m_pWebUsrPref); DELETEZ(m_pUsrPref) ; |