summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 09:00:53 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 11:13:14 +0200
commit7414166f952f087b47e267ebe55898e0d9e1691a (patch)
tree9fc5c3fd494bfacf14025abe1961a84922da7238 /cui/source/tabpages
parent5162647096fa061ae0a4ad5d4e1fd015fbeb9871 (diff)
Fix typo in code
Change-Id: I474351aa2a2f571bb550323bb011c47b4f13443d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101519 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/chardlg.cxx6
1 files changed, 3 insertions, 3 deletions
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 ----------------------------------------------