diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:49:58 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:50:26 +0200 |
commit | 02e355370dcac945172c0064258ce66a98d193fd (patch) | |
tree | cf850be7359d1389e60106f30e86f3bba70262f4 /vcl | |
parent | WaE: implicit conversion (IntegralCast) from bool to 'int' (diff) | |
download | core-02e355370dcac945172c0064258ce66a98d193fd.tar.gz core-02e355370dcac945172c0064258ce66a98d193fd.zip |
More EndDialog() cleanup
Change-Id: I2e79190936d1eb7f55b521d2ce558fba45bf5f28
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 0d648a6a15d3..55f985668a49 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -790,7 +790,7 @@ bool Dialog::Close() if ( IsInExecute() ) { - EndDialog( false ); + EndDialog( RET_CANCEL ); mbInClose = false; return true; } @@ -1078,7 +1078,7 @@ void Dialog::EndAllDialogs( Window* pParent ) pTempModDialog = pModDialog->mpPrevExecuteDlg; if( !pParent || ( pParent && pParent->IsWindowOrChild( pModDialog, true ) ) ) { - pModDialog->EndDialog( false ); + pModDialog->EndDialog( RET_CANCEL ); pModDialog->PostUserEvent( Link() ); } pModDialog = pTempModDialog; |