summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-01-24 13:16:18 +0000
committerMalte Timmermann <mt@openoffice.org>2001-01-24 13:16:18 +0000
commitece88d80ccdbd3bf523b4c705410d826f35e1d2b (patch)
tree1906d67056d2cd29f2419333c3d1a07a4e63aa19
parent45e1f520e267592c5f4a537368a8de696598fd4f (diff)
Close: Don't return 0 for UnoDialogs, if isInExecute()
-rw-r--r--vcl/source/window/dialog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index d2382545e7d2..3570eac4b9af 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dialog.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: th $ $Date: 2000-12-01 16:34:15 $
+ * last change: $Author: mt $ $Date: 2001-01-24 14:16:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -553,7 +553,7 @@ BOOL Dialog::Close()
if ( mxWindowPeer.is() )
{
Application::GetUnoWrapper()->WindowEvent_Close( this );
- if ( IsCreatedWithToolkit() )
+ if ( IsCreatedWithToolkit() && !IsInExecute() )
return FALSE;
}