diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-05-14 21:25:30 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-05-21 21:27:12 +0200 |
commit | 38d96736e00931207168287766c7b73af36d7b24 (patch) | |
tree | b63c2d6934ab2798f01a198ff95fdf2b2bd2c995 /editeng/source | |
parent | 9e0e97b716ab074d4558c76a62a66bf597f332a5 (diff) |
Fix typo
Change-Id: I9adff89a575fce0db2b64df73f3ddc90867da408
Reviewed-on: https://gerrit.libreoffice.org/72694
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index dd4b710f3ef4..496bde7284d5 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -59,7 +59,7 @@ using namespace com::sun::star; static std::unique_ptr<XEditAttribute> MakeXEditAttribute( SfxItemPool& rPool, const SfxPoolItem& rItem, sal_Int32 nStart, sal_Int32 nEnd ) { - // Create thw new attribute in the pool + // Create the new attribute in the pool const SfxPoolItem& rNew = rPool.Put( rItem ); std::unique_ptr<XEditAttribute> pNew(new XEditAttribute( rNew, nStart, nEnd )); @@ -504,7 +504,7 @@ EditTextObjectImpl::EditTextObjectImpl( EditTextObject* pFront, SfxItemPool* pP , bVertical(false) , bIsTopToBottomVert(false) { - // #i101239# ensure target is a EditEngineItemPool, else + // #i101239# ensure target is an EditEngineItemPool, else // fallback to pool ownership. This is needed to ensure that at // pool destruction time of an alien pool, the pool is still alive. // When registering would happen at an alien pool which just uses an @@ -541,7 +541,7 @@ EditTextObjectImpl::EditTextObjectImpl( EditTextObject* pFront, const EditTextOb if ( !r.bOwnerOfPool ) { - // reuse alien pool; this must be a EditEngineItemPool + // reuse alien pool; this must be an EditEngineItemPool // since there is no other way to construct a BinTextObject // than it's regular constructor where that is ensured pPool = r.pPool; |