summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-02-28 11:49:58 +0200
committerTor Lillqvist <tml@collabora.com>2014-02-28 11:50:26 +0200
commit02e355370dcac945172c0064258ce66a98d193fd (patch)
treecf850be7359d1389e60106f30e86f3bba70262f4 /vcl
parentWaE: implicit conversion (IntegralCast) from bool to 'int' (diff)
downloadcore-02e355370dcac945172c0064258ce66a98d193fd.tar.gz
core-02e355370dcac945172c0064258ce66a98d193fd.zip
More EndDialog() cleanup
Change-Id: I2e79190936d1eb7f55b521d2ce558fba45bf5f28
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx4
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;