diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-05-14 21:25:31 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-05-21 21:27:41 +0200 |
commit | 40d259217beb73ece0c0cd4a90d497e95a565745 (patch) | |
tree | bc012277b1bdadf7dfd6a74b2cbe217f6ff33308 /editeng | |
parent | 38d96736e00931207168287766c7b73af36d7b24 (diff) |
Fix typo
Change-Id: I5f062a2d3260110b1108dd28c8a536652416acf2
Reviewed-on: https://gerrit.libreoffice.org/72692
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index c416f61125c9..63990e4c9121 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -1230,7 +1230,7 @@ void ContentNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew, SfxItemPool& // 0: Expand empty attribute, if at insertion point else if ( pAttrib->IsEmpty() ) { - // Do not check Index, a empty one could only be there + // Do not check Index, an empty one could only be there // When later checking it anyhow: // Special case: Start == 0; AbsLen == 1, nNew = 1 // => Expand, because of paragraph break! @@ -1908,7 +1908,7 @@ EditDoc::EditDoc( SfxItemPool* pPool ) : bOwnerOfPool(pPool == nullptr), bModified(false) { - // Don't create a empty node, Clear() will be called in EditEngine-CTOR + // Don't create an empty node, Clear() will be called in EditEngine-CTOR }; EditDoc::~EditDoc() @@ -2340,7 +2340,7 @@ void EditDoc::RemoveChars( EditPaM aPaM, sal_Int32 nChars ) void EditDoc::InsertAttribInSelection( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, const SfxPoolItem& rPoolItem ) { assert(pNode); - DBG_ASSERT( nEnd <= pNode->Len(), "InsertAttrib: Attribute to large!" ); + DBG_ASSERT( nEnd <= pNode->Len(), "InsertAttrib: Attribute too large!" ); // for Optimization: // This ends at the beginning of the selection => can be expanded @@ -2385,7 +2385,7 @@ bool EditDoc::RemoveAttribs( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEn { assert(pNode); - DBG_ASSERT( nEnd <= pNode->Len(), "InsertAttrib: Attribute to large!" ); + DBG_ASSERT( nEnd <= pNode->Len(), "InsertAttrib: Attribute too large!" ); // This ends at the beginning of the selection => can be expanded rpEnding = nullptr; |