FocusManager::IsPanelTitleVisible is dead

ever since
    commit df2c418592
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Sat Sep 23 21:01:50 2023 +0200
    MoveFocusInsideDeckTitle is dead

Change-Id: I641622453b35526c7654c84d25d9d7c873249b43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157817
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2023-10-11 11:22:59 +02:00
parent 56d01e3f9d
commit 03013f35a6
2 changed files with 0 additions and 12 deletions

View file

@ -107,7 +107,6 @@ private:
void FocusDeckTitle();
bool IsDeckTitleVisible() const;
bool IsPanelTitleVisible(const sal_Int32 nPanelIndex) const;
/** Set the focus to the title bar of the panel or, if the
title bar is not visible, directly to the panel.

View file

@ -193,17 +193,6 @@ bool FocusManager::IsDeckTitleVisible() const
return mpDeckTitleBar != nullptr && mpDeckTitleBar->GetVisible();
}
bool FocusManager::IsPanelTitleVisible (const sal_Int32 nPanelIndex) const
{
if (nPanelIndex<0 || o3tl::make_unsigned(nPanelIndex)>=maPanels.size())
return false;
TitleBar* pTitleBar = maPanels[nPanelIndex]->GetTitleBar();
if (!pTitleBar)
return false;
return pTitleBar->GetVisible();
}
void FocusManager::FocusPanel (
const sal_Int32 nPanelIndex,
const bool bFallbackToDeckTitle)