diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 15:11:00 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 08:44:30 +0200 |
commit | bbeb4b91a56a1fd6db8ae1beb1a59007fb25de37 (patch) | |
tree | 274182308ea5075057b42c1597fc1c198ff56ca5 /svx | |
parent | 453c7070692b6adfdf019c50238dc48c66d2a590 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: Idf44d88678de415e38ddb542c198c0eac642aaae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101785
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 3efa537af181..16ee08d4413e 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -68,7 +68,7 @@ struct SvxRuler_Impl { long lLastRMargin; std::unique_ptr<SvxProtectItem> aProtectItem; std::unique_ptr<SfxBoolItem> pTextRTLItem; - sal_uInt16 nControlerItems; + sal_uInt16 nControllerItems; sal_uInt16 nIdx; sal_uInt16 nColLeftPix; sal_uInt16 nColRightPix; // Pixel values for left / right edge @@ -85,7 +85,7 @@ struct SvxRuler_Impl { lOldWinPos(0), lMaxLeftLogic(0), lMaxRightLogic(0), lLastLMargin(0), lLastRMargin(0), aProtectItem(std::make_unique<SvxProtectItem>(SID_RULER_PROTECT)), - nControlerItems(0), nIdx(0), + nControllerItems(0), nIdx(0), nColLeftPix(0), nColRightPix(0), bIsTableRows(false), bIsTabsRelativeToIndent(true) @@ -263,7 +263,7 @@ SvxRuler::SvxRuler( pCtrlItems[i++].reset(new SvxRulerItem(SID_RULER_PROTECT, *this, rBindings)); pCtrlItems[i++].reset(new SvxRulerItem(SID_RULER_BORDER_DISTANCE, *this, rBindings)); - mxRulerImpl->nControlerItems=i; + mxRulerImpl->nControllerItems=i; if( (nFlags & SvxRulerSupportFlags::SET_NULLOFFSET) == SvxRulerSupportFlags::SET_NULLOFFSET ) SetExtraType(RulerExtra::NullOffset); @@ -1627,10 +1627,10 @@ void SvxRuler::SetActive(bool bOn) { pBindings->EnterRegistrations(); if(bOn) - for(sal_uInt16 i=0;i<mxRulerImpl->nControlerItems;i++) + for(sal_uInt16 i=0;i<mxRulerImpl->nControllerItems;i++) pCtrlItems[i]->ReBind(); else - for(sal_uInt16 j=0;j<mxRulerImpl->nControlerItems;j++) + for(sal_uInt16 j=0;j<mxRulerImpl->nControllerItems;j++) pCtrlItems[j]->UnBind(); pBindings->LeaveRegistrations(); } @@ -3210,7 +3210,7 @@ void SvxRuler::EndDrag() Ruler::EndDrag(); if(bUndo) { - for(sal_uInt16 i = 0; i < mxRulerImpl->nControlerItems; i++) + for(sal_uInt16 i = 0; i < mxRulerImpl->nControllerItems; i++) { pCtrlItems[i]->ClearCache(); pCtrlItems[i]->GetBindings().Invalidate(pCtrlItems[i]->GetId()); |