From d8bbe0ede2d5f07a92772dfa04ace97751128005 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 14 Jan 2014 20:35:20 +0100 Subject: EndDialog takes long nResult, not bool Change-Id: Ic6283b7a71a5d1c539ae99155f448e34e877080a --- cui/source/dialogs/thesdlg.cxx | 2 +- cui/source/options/certpath.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 6ae616a43586..0aecd5210397 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -518,7 +518,7 @@ SvxThesaurusDialog::SvxThesaurusDialog( IMPL_LINK( SvxThesaurusDialog, ReplaceBtnHdl_Impl, Button *, EMPTYARG /*pBtn*/ ) { - EndDialog(true); + EndDialog(RET_OK); return 0; } diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx index 89dc712fedb1..f1873b0ca15b 100644 --- a/cui/source/options/certpath.cxx +++ b/cui/source/options/certpath.cxx @@ -135,7 +135,7 @@ IMPL_LINK_NOARG(CertPathDialog, OKHdl_Impl) SAL_WARN("cui.options", "CertPathDialog::OKHdl_Impl(): caught exception" << e.Message); } - EndDialog(true); + EndDialog(RET_OK); return 0; } -- cgit