[Libreoffice-commits] core.git: cui/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 31 09:13:48 UTC 2020
cui/source/tabpages/chardlg.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7414166f952f087b47e267ebe55898e0d9e1691a
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 09:00:53 2020 +0200
Commit: Andrea Gelmini <andrea.gelmini at 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 <serval2412 at 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 ----------------------------------------------
More information about the Libreoffice-commits
mailing list