summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
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 /svx/source/svdraw
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 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdoedge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index 553ec70bef34..b20487920a1f 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -1564,7 +1564,7 @@ line (CL). The number of object margins per object varies between 0 and 3:
void SdrEdgeObj::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
{
const SfxSimpleHint* pSimple = dynamic_cast<const SfxSimpleHint*>(&rHint);
- sal_uIntPtr nId=pSimple==nullptr ? 0 : pSimple->GetId();
+ const sal_uInt32 nId = pSimple==nullptr ? 0 : pSimple->GetId();
bool bDataChg=nId==SFX_HINT_DATACHANGED;
bool bDying=nId==SFX_HINT_DYING;
bool bObj1=aCon1.pObj!=nullptr && aCon1.pObj->GetBroadcaster()==&rBC;