summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/inc/validate.hxx2
-rw-r--r--sc/source/ui/miscdlgs/optsolver.cxx4
-rw-r--r--sw/source/ui/misc/glossary.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index ecf03bc196e6..79c63ff3d511 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -132,7 +132,7 @@ public:
OSL_FAIL( "should not execute here!!!when the edit kill focus, should remove refhandler.\r\n" );
if ( IsInExecute() )
- EndDialog( false );
+ EndDialog( RET_CANCEL );
else if ( GetStyle() & WB_CLOSEABLE )
Close();
}
diff --git a/sc/source/ui/miscdlgs/optsolver.cxx b/sc/source/ui/miscdlgs/optsolver.cxx
index 3a02d8d5943f..4a6c50055642 100644
--- a/sc/source/ui/miscdlgs/optsolver.cxx
+++ b/sc/source/ui/miscdlgs/optsolver.cxx
@@ -91,9 +91,9 @@ ScSolverSuccessDialog::ScSolverSuccessDialog( Window* pParent, const OUString& r
IMPL_LINK( ScSolverSuccessDialog, ClickHdl, PushButton*, pBtn )
{
if (pBtn == m_pBtnOk)
- EndDialog(true);
+ EndDialog(RET_OK);
else
- EndDialog(false);
+ EndDialog(RET_CANCEL);
return 0;
}
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index 65c9f0fa81f0..ca671fc796fc 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -1044,7 +1044,7 @@ IMPL_LINK( SwGlossaryDlg, PathHdl, Button *, pBtn )
IMPL_LINK_NOARG(SwGlossaryDlg, InsertHdl)
{
- EndDialog(true);
+ EndDialog(RET_OK);
return 0;
}