diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2002-12-05 08:11:33 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2002-12-05 08:11:33 +0000 |
commit | fc8e6e4cd24e5105ee0ca80dcac5e084f2a5d716 (patch) | |
tree | 201c41c6e72653681a911b43e1e7deed5c20f53c /vcl | |
parent | 95c1fc6d08107d5961781f5752f7ee025db26324 (diff) |
#105430# no explicit centering of dialogs
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 58b120bd000f..1fab262fa82c 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dialog.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: pl $ $Date: 2002-11-07 18:45:37 $ + * last change: $Author: ssa $ $Date: 2002-12-05 09:11:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -534,8 +534,8 @@ void Dialog::StateChanged( StateChangedType nType ) if ( Application::IsAutoMnemonicEnabled() ) ImplWindowAutoMnemonic( this ); - if ( IsDefaultPos() && !mbFrame ) - ImplCenterDialog(); + //if ( IsDefaultPos() && !mbFrame ) + // ImplCenterDialog(); if ( !HasChildPathFocus() || HasFocus() ) GrabFocusToFirstControl(); if ( !(GetStyle() & WB_CLOSEABLE) ) |