summaryrefslogtreecommitdiff
path: root/vcl/source/control/PriorityHBox.cxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-11-21 14:36:47 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-11-22 00:16:01 +0100
commitde426177dcf08925b0a12b437ceb4d0a1eae006e (patch)
treef87479ed35ecb0e5bec0fca4329a2a5c3179df63 /vcl/source/control/PriorityHBox.cxx
parentd723ef639216c0e8e2b82f99bcf2eaf3d6a19c90 (diff)
notebookbar: Drop PriorityHBox::GetHiddenCount
The method is only used in the PriorityMergedHBox subclass, which overrides the method anyway, so drop the base class implementation. Change-Id: If2c11377b1ca0ac0f3c6cd4fec9890cdcbbce0ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176929 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'vcl/source/control/PriorityHBox.cxx')
-rw-r--r--vcl/source/control/PriorityHBox.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/vcl/source/control/PriorityHBox.cxx b/vcl/source/control/PriorityHBox.cxx
index c893cc8332eb..5b4b19660c4c 100644
--- a/vcl/source/control/PriorityHBox.cxx
+++ b/vcl/source/control/PriorityHBox.cxx
@@ -45,17 +45,6 @@ void PriorityHBox::Initialize()
SetSizeFromParent();
}
-int PriorityHBox::GetHiddenCount() const
-{
- int nCount = 0;
-
- for (auto pWindow : m_aSortedChildren)
- if (pWindow->IsHidden())
- nCount++;
-
- return nCount;
-}
-
void PriorityHBox::SetSizeFromParent()
{
vcl::Window* pParent = GetParent();