diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2023-08-07 19:47:29 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-08-07 23:38:03 +0200 |
commit | 616c1da0cc8b345e13bec14b4794e7bab7e1d046 (patch) | |
tree | 37207750eb7049e4e586527ea358ce4901c5f64b | |
parent | 5eca134cf91307f0e7ffc89e9074b37d26fcac99 (diff) |
Fix typos
Change-Id: If6cdd69d4508cc938ee90f286b2a6103f24a917b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155430
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | svl/source/items/itemset.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index bfc8f74b2010..8529efbbef03 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -351,7 +351,7 @@ SfxItemState SfxItemSet::GetItemState_ForWhichID( SfxItemState eState, sal_uInt1 SfxItemState SfxItemSet::GetItemState_ForOffset( sal_uInt16 nOffset, const SfxPoolItem **ppItem) const { - // check and assert fr iinvaliid offset. The caller is responsible for + // check and assert from invalid offset. The caller is responsible for // ensuring a valid offset (see callers, all checked & safe) assert(nOffset < TotalCount()); SfxPoolItem const** pFoundOne = m_ppItems + nOffset; @@ -1520,7 +1520,7 @@ sal_uInt16 WhichRangesContainer::getOffsetFromWhich(sal_uInt16 nWhich) const return INVALID_WHICHPAIR_OFFSET; } - // check if nWhich is inside last sucessfully used WhichPair + // check if nWhich is inside last successfully used WhichPair if (INVALID_WHICHPAIR_OFFSET != m_aLastWhichPairOffset && m_aLastWhichPairFirst <= nWhich && nWhich <= m_aLastWhichPairSecond) @@ -1579,7 +1579,7 @@ sal_uInt16 WhichRangesContainer::getWhichFromOffset(sal_uInt16 nOffset) const return 0; } - // check if nWhich is inside last sucessfully used WhichPair + // check if nWhich is inside last successfully used WhichPair if (INVALID_WHICHPAIR_OFFSET != m_aLastWhichPairOffset) { // only try if we are beyond or at m_aLastWhichPairOffset to @@ -1604,7 +1604,7 @@ sal_uInt16 WhichRangesContainer::getWhichFromOffset(sal_uInt16 nOffset) const // Iterate over WhichPairs in WhichRangesContainer // Do not update buffered last hit (m_aLastWhichPair*), these calls - // are potetially more rare than getOffsetFromWhich calls. Still, + // are potentially more rare than getOffsetFromWhich calls. Still, // it could also be done here for( auto const & pPtr : *this ) { |