diff options
Diffstat (limited to 'svx/source/dialog/graphctl.cxx')
-rw-r--r-- | svx/source/dialog/graphctl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index a013a990bfe9..272005bc12d5 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -199,8 +199,7 @@ void GraphCtrl::SetGraphic( const Graphic& rGraphic, bool bNewModel ) if ( bSdrMode && bNewModel ) InitSdrModel(); - if ( aGraphSizeLink.IsSet() ) - aGraphSizeLink.Call( this ); + aGraphSizeLink.Call( this ); Resize(); Invalidate(); @@ -745,8 +744,7 @@ void GraphCtrl::SetObjKind( const SdrObjKind _eObjKind ) IMPL_LINK_TYPED( GraphCtrl, UpdateHdl, Idle*, pTimer, void ) { - if ( aUpdateLink.IsSet() ) - aUpdateLink.Call( this ); + aUpdateLink.Call( this ); pTimer->Start(); } |