summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-26 11:38:00 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-27 13:32:40 +0200
commitb22adb4940fe86f33732be0a1305ccb71f2d0ea9 (patch)
tree7ca01bb5e9ebfefd9755aebb360a8e7e68b4b624 /vcl
parentRemove commented out code (diff)
downloadcore-b22adb4940fe86f33732be0a1305ccb71f2d0ea9.tar.gz
core-b22adb4940fe86f33732be0a1305ccb71f2d0ea9.zip
Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx17
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)) ||