From c77e30cbc0e7fb56593dac345291fd33998fbaf0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Aug 2019 20:11:07 +0200 Subject: replace ".get->" with "->" Change-Id: I327a6fda1fe0170da33e06b735f09a39421c8a58 Reviewed-on: https://gerrit.libreoffice.org/77469 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/sidebar/FocusManager.cxx | 10 +++++----- sfx2/source/sidebar/SidebarController.cxx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sfx2') 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(maButtons.size())-1) { sal_Int32 nIndex(aLocation.mnIndex + 1); - while(!maButtons[nIndex].get()->IsVisible() && ++nIndex < static_cast(maButtons.size())); + while(!maButtons[nIndex]->IsVisible() && ++nIndex < static_cast(maButtons.size())); if (nIndex < static_cast(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 SidebarController::CreatePanel ( *xPanelDescriptor, pParentWindow, bIsInitiallyExpanded, - [pDeck]() { return pDeck.get()->RequestLayout(); }, + [pDeck]() { return pDeck->RequestLayout(); }, [this]() { return this->GetCurrentContext(); }, mxFrame); -- cgit