summaryrefslogtreecommitdiff
path: root/sw/source/uibase/cctrl/actctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/cctrl/actctrl.cxx')
-rw-r--r--sw/source/uibase/cctrl/actctrl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/cctrl/actctrl.cxx b/sw/source/uibase/cctrl/actctrl.cxx
index d17706730dcf..8a2a501b5855 100644
--- a/sw/source/uibase/cctrl/actctrl.cxx
+++ b/sw/source/uibase/cctrl/actctrl.cxx
@@ -55,8 +55,7 @@ void ReturnActionEdit::KeyInput( const KeyEvent& rEvt)
if( aKeyCode.GetCode() == KEY_RETURN &&
!nModifier)
{
- if(aReturnActionLink.IsSet())
- aReturnActionLink.Call(*this);
+ aReturnActionLink.Call(*this);
}
else
Edit::KeyInput(rEvt);