sw/source/uibase/shells/txtnum.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7f8ef5abc9ca8bfb41ac2d5aea25b78aed3d5566
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Sep 25 12:24:33 2020 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Sep 26 09:51:02 2020 +0200

    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 <serval2...@yahoo.fr>

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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to