summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-02 17:12:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-02 20:34:30 +0100
commit17a6597ab00e9b1e8337ae7254b26672caf09690 (patch)
treedc451eb3b8787d3e5b4f92fb4416b437f9b8b6ec /sfx2
parent60ac2acd4cd1722fe12c3a7753db9b0519a8b7db (diff)
getLayoutRequisition is a static member of VclContainer
Change-Id: I624c3d179bf33b6a86d5cc8aebbc4a1690af9071 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108598 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/notebookbar/NotebookbarTabControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notebookbar/NotebookbarTabControl.cxx b/sfx2/source/notebookbar/NotebookbarTabControl.cxx
index 80277b10d723..dd2e1fba5129 100644
--- a/sfx2/source/notebookbar/NotebookbarTabControl.cxx
+++ b/sfx2/source/notebookbar/NotebookbarTabControl.cxx
@@ -368,7 +368,7 @@ Size NotebookbarTabControl::calculateRequisition() const
if (pChild)
{
- Size aChildSize = VclAlignment::getLayoutRequisition(*pChild);
+ Size aChildSize = VclContainer::getLayoutRequisition(*pChild);
if (aChildSize.getWidth() < aSize.getWidth())
aSize.setWidth( aChildSize.Width() );