summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-04 15:00:13 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:31:48 +0200
commitaaae18cc5f61f979d2c7d7d0d855fbbd8c4cebdb (patch)
tree6b476f102e626248ac95cf0f275dc86a1f56335a /toolkit
parent63dc7b1ce8a5d4cd8ec63526324736f73f0871c7 (diff)
correct indentation
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx20
1 files changed, 9 insertions, 11 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 6cc7aee716f6..695f8b1698cf 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -875,17 +875,15 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
pNewWindow = new FloatingWindow( pParent, nWinBits );
break;
case WINDOW_GROUPBOX:
- {
- pNewWindow = new GroupBox( pParent, nWinBits );
- if ( bFrameControl )
- {
- GroupBox* pGroupBox = static_cast< GroupBox* >( pNewWindow );
- *ppNewComp = new VCLXFrame;
- // Frame control needs to receive
- // Mouse events
- pGroupBox->SetMouseTransparent( false );
- }
- }
+ pNewWindow = new GroupBox( pParent, nWinBits );
+ if ( bFrameControl )
+ {
+ GroupBox* pGroupBox = static_cast< GroupBox* >( pNewWindow );
+ *ppNewComp = new VCLXFrame;
+ // Frame control needs to receive
+ // Mouse events
+ pGroupBox->SetMouseTransparent( false );
+ }
break;
case WINDOW_HELPBUTTON:
pNewWindow = new HelpButton( pParent, nWinBits );