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:
parent
56d01e3f9d
commit
03013f35a6
2 changed files with 0 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue