include/svl/poolitem.hxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 2863329783e6507af4cbac796b5b3767f277d75d
Author:     Andrea Gelmini <[email protected]>
AuthorDate: Tue Jan 23 21:14:30 2024 +0100
Commit:     Julien Nabet <[email protected]>
CommitDate: Wed Jan 24 14:00:26 2024 +0100

    Fix typos
    
    Change-Id: I2eb42da2971c5fad5b7f023b17315f556a3cbb88
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162479
    Tested-by: Julien Nabet <[email protected]>
    Reviewed-by: Julien Nabet <[email protected]>

diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 79a113b6da89..a3af1762d679 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -54,7 +54,7 @@ inline bool Any2Bool( const css::uno::Any&rValue )
 }
 
 // Offer simple assert if Item is RefCounted (RefCnt > 1) and thus CANNOT be 
changed.
-// This should be used at *all* SfxPoolItem set* mehods. Remember that 
SfxPoolItems
+// This should be used at *all* SfxPoolItem set* methods. Remember that 
SfxPoolItems
 // are by design intended to be create-one, read-only, shared data packages
 #define ASSERT_CHANGE_REFCOUNTED_ITEM \
     assert(!GetRefCount() && "ERROR: RefCounted SfxPoolItem CANNOT be changed 
(!)")
@@ -306,9 +306,9 @@ class SVL_DLLPUBLIC ItemInstanceManager
 // offering a default implementation that can be use for
 // each SfxPoolItem (except when !isShareable()). It just
 // uses an unordered_set holding ptrs to SfxPoolItems added
-// and SfxPoolItem::opeator== to linearly search for one.
-// Thus thisi is not the fastest, but as fast as old 'poooled'
-// stuff - btter use an intelligent, pro-Item implementation
+// and SfxPoolItem::operator== to linearly search for one.
+// Thus this is not the fastest, but as fast as old 'poooled'
+// stuff - better use an intelligent, pro-Item implementation
 // that does e.g. hashing or whatever might be feasible for
 // that specific Item (see other derivations)
 class SVL_DLLPUBLIC DefaultItemInstanceManager : public ItemInstanceManager

Reply via email to