diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-22 08:24:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-22 08:24:48 +0200 |
commit | 0552ec9828ad65b1cf90f4e5253f0108facd5bf3 (patch) | |
tree | b7b889ef11c53126304f77dd31d509fb633859ef /reportdesign | |
parent | 2309217a55c8d5e6bdde2a6d4775f10415505fcd (diff) |
convert SdrHintKind to scoped enum
Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/SectionView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/SectionView.cxx b/reportdesign/source/ui/report/SectionView.cxx index bb01d282d17e..d7796c7549b2 100644 --- a/reportdesign/source/ui/report/SectionView.cxx +++ b/reportdesign/source/ui/report/SectionView.cxx @@ -132,9 +132,9 @@ void OSectionView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) const SdrObject* pObj = pSdrHint->GetObject(); const SdrHintKind eKind = pSdrHint->GetKind(); // check for change of selected object - if(HINT_OBJCHG == eKind && pObj && IsObjMarked(const_cast<SdrObject*>(pObj))) + if(SdrHintKind::ObjectChange == eKind && pObj && IsObjMarked(const_cast<SdrObject*>(pObj))) AdjustMarkHdl(); - else if ( eKind == HINT_OBJREMOVED ) + else if ( eKind == SdrHintKind::ObjectRemoved ) ObjectRemovedInAliveMode(pObj); } } |