diff options
-rw-r--r-- | sfx2/source/notebookbar/NotebookbarTabControl.cxx | 2 |
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() ); |