cui/source/tabpages/chardlg.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7414166f952f087b47e267ebe55898e0d9e1691a
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Aug 28 09:00:53 2020 +0200
Commit:     Andrea Gelmini <andrea.gelm...@gelma.net>
CommitDate: Mon Aug 31 11:13:14 2020 +0200

    Fix typo in code
    
    Change-Id: I474351aa2a2f571bb550323bb011c47b4f13443d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101519
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Jenkins

diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 0b498f43a935..a7162eca0817 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -1281,7 +1281,7 @@ void SvxCharNamePage::PageCreated(const SfxAllItemSet& 
aSet)
 {
     const SvxFontListItem* pFontListItem = 
aSet.GetItem<SvxFontListItem>(SID_ATTR_CHAR_FONTLIST, false);
     const SfxUInt32Item* pFlagItem = 
aSet.GetItem<SfxUInt32Item>(SID_FLAG_TYPE, false);
-    const SfxUInt16Item* pDisalbeItem = 
aSet.GetItem<SfxUInt16Item>(SID_DISABLE_CTL, false);
+    const SfxUInt16Item* pDisableItem = 
aSet.GetItem<SfxUInt16Item>(SID_DISABLE_CTL, false);
     if (pFontListItem)
         SetFontList(*pFontListItem);
 
@@ -1294,8 +1294,8 @@ void SvxCharNamePage::PageCreated(const SfxAllItemSet& 
aSet)
             // the writer uses SID_ATTR_BRUSH as font background
             m_bPreviewBackgroundToCharacter = true;
     }
-    if (pDisalbeItem)
-        DisableControls(pDisalbeItem->GetValue());
+    if (pDisableItem)
+        DisableControls(pDisableItem->GetValue());
 }
 // class SvxCharEffectsPage ----------------------------------------------
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to