diff options
Diffstat (limited to 'reportdesign/source/ui/report/SectionView.cxx')
-rw-r--r-- | reportdesign/source/ui/report/SectionView.cxx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/reportdesign/source/ui/report/SectionView.cxx b/reportdesign/source/ui/report/SectionView.cxx index b61b7fe67432..dd27e0bdc083 100644 --- a/reportdesign/source/ui/report/SectionView.cxx +++ b/reportdesign/source/ui/report/SectionView.cxx @@ -157,13 +157,15 @@ void OSectionView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { const SdrObject* pObj = pSdrHint->GetSdrHintObject(); const SdrHintKind eKind = pSdrHint->GetSdrHintKind(); - // check for change of selected object - if((HINT_OBJCHG_MOVE == eKind || HINT_OBJCHG_RESIZE == eKind || HINT_OBJCHG_ATTR == eKind) - && pObj && IsObjMarked(*pObj)) - { - SetMarkHandles(); - } - else if ( eKind == HINT_OBJREMOVED ) + // TTTT: Should be handled by Selection::Notify now + //// check for change of selected object + //if((HINT_OBJCHG_MOVE == eKind || HINT_OBJCHG_RESIZE == eKind || HINT_OBJCHG_ATTR == eKind) + // && pObj && IsObjMarked(*pObj)) + //{ + // RecreateAllMarkHandles(); + //} + //else + if ( eKind == HINT_OBJREMOVED ) { ObjectRemovedInAliveMode(pObj); } |