[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jan 2 19:35:13 UTC 2021
sfx2/source/notebookbar/NotebookbarTabControl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 17a6597ab00e9b1e8337ae7254b26672caf09690
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jan 2 17:12:50 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jan 2 20:34:30 2021 +0100
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 at redhat.com>
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() );
More information about the Libreoffice-commits
mailing list