svl/source/items/itemset.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 616c1da0cc8b345e13bec14b4794e7bab7e1d046
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Mon Aug 7 19:47:29 2023 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Mon Aug 7 23:38:03 2023 +0200

    Fix typos
    
    Change-Id: If6cdd69d4508cc938ee90f286b2a6103f24a917b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155430
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

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 )
     {

Reply via email to