From 38d96736e00931207168287766c7b73af36d7b24 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 14 May 2019 21:25:30 +0000 Subject: Fix typo Change-Id: I9adff89a575fce0db2b64df73f3ddc90867da408 Reviewed-on: https://gerrit.libreoffice.org/72694 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- editeng/source/editeng/editobj.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editeng') 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 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 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; -- cgit