Kaydet (Commit) ecf43ac7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

EndDialog takes long nResult, not bool

Change-Id: Id57ad91eb6f2a5f7f4801ebc3a1317bb7bf46adf
üst 5c3eca5e
......@@ -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();
}
......
......@@ -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;
}
......
......@@ -1044,7 +1044,7 @@ IMPL_LINK( SwGlossaryDlg, PathHdl, Button *, pBtn )
IMPL_LINK_NOARG(SwGlossaryDlg, InsertHdl)
{
EndDialog(true);
EndDialog(RET_OK);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment