diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-08-26 14:00:09 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-08-28 02:03:28 +0200 |
commit | edebac799d43b032fa63576a5bf936b470685d8d (patch) | |
tree | 73141782221ea8ad60dba729a23e28ac6c4d8e6c /framework/source/layoutmanager | |
parent | 526ea240d1ac049e44d4d017f11ed998d3cc9b35 (diff) |
cosmetic clean-up
Change-Id: I7e6689e07873dcb85c2bf1aac0db2ecddc01fe4b
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r-- | framework/source/layoutmanager/toolbarlayoutmanager.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index b9f2ebc70312..041339ecc282 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -1032,13 +1032,17 @@ void ToolbarLayoutManager::setParentWindow( { SolarMutexGuard aGuard; VclPtr< ::DockingAreaWindow > pWindow = dynamic_cast< ::DockingAreaWindow* >(VCLUnoHelper::GetWindow( xTopDockWindow ).get() ); - if( pWindow ) pWindow->SetAlign( WindowAlign::Top ); + if( pWindow ) + pWindow->SetAlign( WindowAlign::Top ); pWindow = dynamic_cast< ::DockingAreaWindow* >(VCLUnoHelper::GetWindow( xBottomDockWindow ).get() ); - if( pWindow ) pWindow->SetAlign( WindowAlign::Bottom ); + if( pWindow ) + pWindow->SetAlign( WindowAlign::Bottom ); pWindow = dynamic_cast< ::DockingAreaWindow* >(VCLUnoHelper::GetWindow( xLeftDockWindow ).get() ); - if( pWindow ) pWindow->SetAlign( WindowAlign::Left ); + if( pWindow ) + pWindow->SetAlign( WindowAlign::Left ); pWindow = dynamic_cast< ::DockingAreaWindow* >(VCLUnoHelper::GetWindow( xRightDockWindow ).get() ); - if( pWindow ) pWindow->SetAlign( WindowAlign::Right ); + if( pWindow ) + pWindow->SetAlign( WindowAlign::Right ); implts_reparentToolbars(); } else |