summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-22 19:29:32 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-23 20:13:43 +0200
commit2baa024820b4275db708afaba7bf75340297e4f0 (patch)
tree21f5fc9461b5ca53c767d79d1898e90ac695a690 /sfx2
parent9d8fe885f242ab7dd21e338cc5a40a278db6b2ff (diff)
Fix typo in code
Change-Id: I9061af75ef5d89bf15010f14ede074ec1739a61c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101210 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/notebookbar/PriorityHBox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/notebookbar/PriorityHBox.cxx b/sfx2/source/notebookbar/PriorityHBox.cxx
index a0f5052ccd44..b6a0ed22ced0 100644
--- a/sfx2/source/notebookbar/PriorityHBox.cxx
+++ b/sfx2/source/notebookbar/PriorityHBox.cxx
@@ -88,13 +88,13 @@ Size PriorityHBox::calculateRequisition() const
++nVisibleChildren;
Size aChildSize = getLayoutRequisition(*pChild);
- bool bAllwaysExpanded = true;
+ bool bAlwaysExpanded = true;
vcl::IPrioritable* pPrioritable = dynamic_cast<vcl::IPrioritable*>(pChild);
if (pPrioritable && pPrioritable->GetPriority() != VCL_PRIORITY_DEFAULT)
- bAllwaysExpanded = false;
+ bAlwaysExpanded = false;
- if (bAllwaysExpanded)
+ if (bAlwaysExpanded)
{
long nPrimaryDimension = getPrimaryDimension(aChildSize);
nPrimaryDimension += pChild->get_padding() * 2;