[Libreoffice-commits] core.git: sfx2/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 18:14:20 UTC 2020


 sfx2/source/notebookbar/PriorityHBox.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2baa024820b4275db708afaba7bf75340297e4f0
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 19:29:32 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 20:13:43 2020 +0200

    Fix typo in code
    
    Change-Id: I9061af75ef5d89bf15010f14ede074ec1739a61c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101210
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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;


More information about the Libreoffice-commits mailing list