summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-12-15 20:46:34 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:51 -0400
commitcfe9fcbedd38e62d16c0a1bfff90c040efd6c1d1 (patch)
tree99269fc518c8bdd0567da080a4b65276d147c21e /sw/source/uibase/app
parent60e0035e6456e14d0c1c39aec89e87b13ac2057e (diff)
sal_uLong/sal_uIntPtr/sal_uInt16 to sal_uInt32
also avoid some explicit temporaries and group some checks. Change-Id: I7795b208dde53fd383b8c75f72dd9f56429aea2b (cherry picked from commit cb98c423bbdada017a687186a5c06def6cb6f7a2)
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r--sw/source/uibase/app/apphdl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
index 39ed27367a19..44d8bf6cc1f0 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) ;