diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-06-25 09:06:48 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-06-25 09:06:48 +0000 |
commit | 78f3f2908d93c039230f9b315ec58234c6053e9b (patch) | |
tree | 72fa4521512a66159898602c0bc9c2ef0bd0ce99 | |
parent | ce1fd514845bc1916d0f3f9254617bcb45cc0a19 (diff) |
CWS-TOOLING: integrate CWS impress173
2009-06-16 15:50:22 +0200 sj r273022 : #i101545# fixed crash - bracketing of graphic links has been done twice leading to a broken graphic state stack
2009-06-05 10:37:58 +0200 cl r272669 : #i102298# prevent export of multiple writing-mode attributes for cell styles
2009-06-05 10:29:42 +0200 cl r272667 : #i98403# fixed editing of motion path
-rw-r--r-- | sd/source/ui/animations/motionpathtag.cxx | 26 | ||||
-rw-r--r-- | sd/source/ui/animations/motionpathtag.hxx | 1 |
2 files changed, 18 insertions, 9 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx index ac928d429..34942f4fd 100644 --- a/sd/source/ui/animations/motionpathtag.cxx +++ b/sd/source/ui/animations/motionpathtag.cxx @@ -508,6 +508,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl ) { SmartTagReference xTag( this ); mrView.getSmartTags().select( xTag ); + selectionChanged(); return true; } else @@ -941,16 +942,13 @@ void MotionPathTag::CheckPossibilities() { if( isSelected() ) { - if( mrView.IsFrameDragSingles() ) - { - mrView.SetMoveAllowed( true ); - mrView.SetMoveProtected( false ); - mrView.SetResizeFreeAllowed( true ); - mrView.SetResizePropAllowed( true ); - mrView.SetResizeProtected( false ); + mrView.SetMoveAllowed( true ); + mrView.SetMoveProtected( false ); + mrView.SetResizeFreeAllowed( true ); + mrView.SetResizePropAllowed( true ); + mrView.SetResizeProtected( false ); - } - else + if( !mrView.IsFrameDragSingles() ) { bool b1stSmooth(true); bool b1stSegm(true); @@ -1117,8 +1115,18 @@ void MotionPathTag::deselect() if( pPts ) pPts->Clear(); } + + selectionChanged(); } +void MotionPathTag::selectionChanged() +{ + if( mrView.GetViewShell() && mrView.GetViewShell()->GetViewFrame() ) + { + SfxBindings& rBindings = mrView.GetViewShell()->GetViewFrame()->GetBindings(); + rBindings.InvalidateAll(TRUE); + } +} // -------------------------------------------------------------------- // IPolyPolygonEditorController // -------------------------------------------------------------------- diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx index 46258c479..e22b418bb 100644 --- a/sd/source/ui/animations/motionpathtag.hxx +++ b/sd/source/ui/animations/motionpathtag.hxx @@ -116,6 +116,7 @@ protected: virtual void deselect(); void updatePathAttributes(); + void selectionChanged(); private: CustomAnimationPane& mrPane; |