summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-20 20:38:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-21 09:54:39 +0200
commit0d2472f01375261e354225017b6422ca29899247 (patch)
treefad3e6e568d7cf2910825a5a622d5b32c66c67df /sfx2
parentc1816feaa9c6ab30f01e14f621402307543c82ac (diff)
route delete-event through cancel handler if available
for sync gtk dialogs too Change-Id: Iad40c539a663504d72f372a0d3b4427a23e717c4 Reviewed-on: https://gerrit.libreoffice.org/72626 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 32ab60c49776..79e2ad750ada 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1352,14 +1352,14 @@ IMPL_LINK_NOARG(SfxTabDialogController, UserHdl, weld::Button&, void)
if (RET_OK == nRet)
nRet = RET_USER;
else
- nRet = RET_USER_CANCEL;
+ nRet = RET_CANCEL;
m_xDialog->response(nRet);
}
}
IMPL_LINK_NOARG(SfxTabDialogController, CancelHdl, weld::Button&, void)
{
- m_xDialog->response(RET_USER_CANCEL);
+ m_xDialog->response(RET_CANCEL);
}
IMPL_LINK_NOARG(SfxTabDialogController, ResetHdl, weld::Button&, void)