diff options
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r-- | sfx2/source/appl/lnkbase2.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index f509183b69e2..421abc7c1b1a 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -253,8 +253,7 @@ IMPL_LINK_TYPED( SvBaseLink, EndEditHdl, const OUString&, _rNewName, void ) if ( !ExecuteEdit( sNewName ) ) sNewName.clear(); bWasLastEditOK = !sNewName.isEmpty(); - if ( pImpl->m_aEndEditLink.IsSet() ) - pImpl->m_aEndEditLink.Call( *this ); + pImpl->m_aEndEditLink.Call( *this ); } @@ -505,8 +504,7 @@ void SvBaseLink::Edit( vcl::Window* pParent, const Link<SvBaseLink&,void>& rEndE { ExecuteEdit( OUString() ); bWasLastEditOK = false; - if ( pImpl->m_aEndEditLink.IsSet() ) - pImpl->m_aEndEditLink.Call( *this ); + pImpl->m_aEndEditLink.Call( *this ); } } |