diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-09-25 12:24:33 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-26 09:51:02 +0200 |
commit | 7f8ef5abc9ca8bfb41ac2d5aea25b78aed3d5566 (patch) | |
tree | 8f3c01903f6fba6b01b8a9f7b05ae63d68738ef2 /sw/source | |
parent | de8163cfd10716cba3714cfdc0fa139a52aee669 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I0d3bb7281b8b863d7a5eade7a4e37c6df106cfd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103452
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/shells/txtnum.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index aadc698ac024..3feff416724b 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -252,7 +252,7 @@ void SwTextShell::ExecSetNumber(SfxRequest const &rReq) const SfxUInt16Item* pItem = rReq.GetArg<SfxUInt16Item>(nSlot); if ( pItem != nullptr ) { - const sal_uInt16 nChoosenItemIdx = pItem->GetValue(); + const sal_uInt16 nChosenItemIdx = pItem->GetValue(); svx::sidebar::NBOType nNBOType = svx::sidebar::NBOType::Bullets; if ( nSlot == FN_SVX_SET_NUMBER ) nNBOType = svx::sidebar::NBOType::Numbering; @@ -290,7 +290,7 @@ void SwTextShell::ExecSetNumber(SfxRequest const &rReq) aSet.Put( SvxNumBulletItem( aNewSvxNumRule, SID_ATTR_NUMBERING_RULE ) ); pNBOTypeMgr->SetItems( &aSet ); - pNBOTypeMgr->ApplyNumRule( aNewSvxNumRule, nChoosenItemIdx - 1, nActNumLvl ); + pNBOTypeMgr->ApplyNumRule( aNewSvxNumRule, nChosenItemIdx - 1, nActNumLvl ); aNewNumRule.SetSvxRule( aNewSvxNumRule, GetShell().GetDoc() ); aNewNumRule.SetAutoRule( true ); |