diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-26 11:38:00 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-27 13:32:40 +0200 |
commit | b22adb4940fe86f33732be0a1305ccb71f2d0ea9 (patch) | |
tree | 7ca01bb5e9ebfefd9755aebb360a8e7e68b4b624 /vcl | |
parent | d8fd07188626dc91dac2a8a22e35cfafce3ea969 (diff) |
Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 598a723eadec..c284d3475bbc 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -315,23 +315,6 @@ void Dialog::ImplInit( Window* pParent, WinBits nStyle ) else if( pParent == DIALOG_NO_PARENT ) pParent = NULL; -/* - // Now, all Dialogs are per default system windows !!! - if ( pParent && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMODE) ) - { - if ( !pParent->mpWindowImpl->mpFrameWindow->IsVisible() ) - pParent = NULL; - else - { - if ( pParent->mpWindowImpl->mpFrameWindow->IsDialog() ) - { - Size aOutSize = pParent->mpWindowImpl->mpFrameWindow->GetOutputSizePixel(); - if ( (aOutSize.Width() < 210) ||(aOutSize.Height() < 160) ) - nStyle |= WB_SYSTEMWINDOW; - } - } - } -*/ if ( !pParent || (nStyle & WB_SYSTEMWINDOW) || (pParent->mpWindowImpl->mpFrameData->mbNeedSysWindow && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMODE)) || |