Kaydet (Commit) 1bceb4e6 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix indent

Change-Id: Ia1bc9fe3c2c3833e36ec6fb9636856049acf03ec
üst 6534421e
...@@ -138,31 +138,31 @@ bool Accelerator::ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::W ...@@ -138,31 +138,31 @@ bool Accelerator::ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::W
vcl::Window *pGetChild = firstLogicalChildOfParent(pWindow); vcl::Window *pGetChild = firstLogicalChildOfParent(pWindow);
while (pGetChild) while (pGetChild)
{ {
if ( pGetChild->GetType() == WINDOW_TABCONTROL ) if (pGetChild->GetType() == WINDOW_TABCONTROL)
{ {
// find currently shown tab page // find currently shown tab page
TabControl* pTabControl = static_cast<TabControl*>( pGetChild ); TabControl* pTabControl = static_cast<TabControl*>( pGetChild );
TabPage* pTabPage = pTabControl->GetTabPage( pTabControl->GetCurPageId() ); TabPage* pTabPage = pTabControl->GetTabPage( pTabControl->GetCurPageId() );
vcl::Window* pTabPageChild = firstLogicalChildOfParent( pTabPage ); vcl::Window* pTabPageChild = firstLogicalChildOfParent( pTabPage );
// and go through its children // and go through its children
while ( pTabPageChild ) while ( pTabPageChild )
{ {
ImplHandleControlAccelerator(pTabPageChild, bShowAccel); ImplHandleControlAccelerator(pTabPageChild, bShowAccel);
pTabPageChild = nextLogicalChildOfParent(pTabPage, pTabPageChild); pTabPageChild = nextLogicalChildOfParent(pTabPage, pTabPageChild);
} }
} }
else if ( pGetChild->GetType() == WINDOW_TABPAGE ) else if (pGetChild->GetType() == WINDOW_TABPAGE)
{ {
// bare tabpage without tabcontrol parent (options dialog) // bare tabpage without tabcontrol parent (options dialog)
vcl::Window* pTabPageChild = firstLogicalChildOfParent( pGetChild ); vcl::Window* pTabPageChild = firstLogicalChildOfParent( pGetChild );
// and go through its children // and go through its children
while ( pTabPageChild ) while ( pTabPageChild )
{ {
ImplHandleControlAccelerator(pTabPageChild, bShowAccel); ImplHandleControlAccelerator(pTabPageChild, bShowAccel);
pTabPageChild = nextLogicalChildOfParent(pGetChild, pTabPageChild); pTabPageChild = nextLogicalChildOfParent(pGetChild, pTabPageChild);
} }
} }
ImplHandleControlAccelerator( pGetChild, bShowAccel ); ImplHandleControlAccelerator( pGetChild, bShowAccel );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment