diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-04-22 11:33:56 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-04-23 09:20:00 +0200 |
commit | 30eb1ba084468c15bb4dd3bba44c2668ddc94aad (patch) | |
tree | 6d3cf73a1c8941ceb21cdf29a69eaee41bef4343 /svl | |
parent | 0d28abe085293604eb3127626da9c5a520b25c21 (diff) |
Fix typos in code
Change-Id: I5a39d89ad33d447f952d6c4c32923d387c47fd06
Reviewed-on: https://gerrit.libreoffice.org/71083
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itempool.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index bb3ac17f417b..406b4a3db785 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -626,7 +626,7 @@ const SfxPoolItem& SfxItemPool::PutImpl( const SfxPoolItem& rItem, sal_uInt16 nW if (it != rItemArr.end()) { AddRef(rItem); - assert(!bPassingOwnership && "cant be passing ownership and have the item already in the pool"); + assert(!bPassingOwnership && "can't be passing ownership and have the item already in the pool"); return rItem; } } @@ -651,7 +651,7 @@ const SfxPoolItem& SfxItemPool::PutImpl( const SfxPoolItem& rItem, sal_uInt16 nW if (**itr == rItem) { AddRef(**itr); - assert(!bPassingOwnership && "cant be passing ownership and have the item already in the pool"); + assert(!bPassingOwnership && "can't be passing ownership and have the item already in the pool"); return **itr; } } @@ -662,7 +662,7 @@ const SfxPoolItem& SfxItemPool::PutImpl( const SfxPoolItem& rItem, sal_uInt16 nW SfxPoolItem* pNewItem; if (bPassingOwnership) { - assert(!dynamic_cast<const SfxItemSet*>(&rItem) && "cant pass ownership of SfxItem, they need to be cloned to the master pool"); + assert(!dynamic_cast<const SfxItemSet*>(&rItem) && "can't pass ownership of SfxItem, they need to be cloned to the master pool"); pNewItem = const_cast<SfxPoolItem*>(&rItem); } else |