summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-14 20:11:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 09:04:30 +0200
commitc77e30cbc0e7fb56593dac345291fd33998fbaf0 (patch)
tree2f8c5114f5176ea38ca2623b39734fbaf2784b99 /sfx2
parentd72f68e91b595d1a8120f39b80483c3f06838099 (diff)
replace ".get->" with "->"
Change-Id: I327a6fda1fe0170da33e06b735f09a39421c8a58 Reviewed-on: https://gerrit.libreoffice.org/77469 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/FocusManager.cxx10
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx2
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);