diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/FocusManager.cxx | 10 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx index ea9fe891e8a3..d924cdad47cf 100644 --- a/sfx2/source/sidebar/FocusManager.cxx +++ b/sfx2/source/sidebar/FocusManager.cxx @@ -401,7 +401,7 @@ void FocusManager::HandleKeyEvent ( case PC_PanelTitle: // Toggle panel between expanded and collapsed. maPanels[aLocation.mnIndex]->SetExpanded( ! maPanels[aLocation.mnIndex]->IsExpanded()); - maPanels[aLocation.mnIndex]->GetTitleBar().get()->Invalidate(); + maPanels[aLocation.mnIndex]->GetTitleBar()->Invalidate(); break; default: @@ -472,7 +472,7 @@ void FocusManager::HandleKeyEvent ( { // Focus the last button. sal_Int32 nIndex(maButtons.size()-1); - while(!maButtons[nIndex].get()->IsVisible() && --nIndex > 0); + while(!maButtons[nIndex]->IsVisible() && --nIndex > 0); FocusButton(nIndex); } break; @@ -482,7 +482,7 @@ void FocusManager::HandleKeyEvent ( { // Focus the last button. sal_Int32 nIndex(maButtons.size()-1); - while(!maButtons[nIndex].get()->IsVisible() && --nIndex > 0); + while(!maButtons[nIndex]->IsVisible() && --nIndex > 0); FocusButton(nIndex); break; } @@ -494,7 +494,7 @@ void FocusManager::HandleKeyEvent ( else { sal_Int32 nIndex((aLocation.mnIndex + maButtons.size() - 1) % maButtons.size()); - while(!maButtons[nIndex].get()->IsVisible() && --nIndex > 0); + while(!maButtons[nIndex]->IsVisible() && --nIndex > 0); FocusButton(nIndex); } break; @@ -532,7 +532,7 @@ void FocusManager::HandleKeyEvent ( if (aLocation.mnIndex < static_cast<sal_Int32>(maButtons.size())-1) { sal_Int32 nIndex(aLocation.mnIndex + 1); - while(!maButtons[nIndex].get()->IsVisible() && ++nIndex < static_cast<sal_Int32>(maButtons.size())); + while(!maButtons[nIndex]->IsVisible() && ++nIndex < static_cast<sal_Int32>(maButtons.size())); if (nIndex < static_cast<sal_Int32>(maButtons.size())) { FocusButton(nIndex); diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index a109cb8eec06..ffefcf1d5f8a 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -890,7 +890,7 @@ VclPtr<Panel> SidebarController::CreatePanel ( *xPanelDescriptor, pParentWindow, bIsInitiallyExpanded, - [pDeck]() { return pDeck.get()->RequestLayout(); }, + [pDeck]() { return pDeck->RequestLayout(); }, [this]() { return this->GetCurrentContext(); }, mxFrame); |