[Libreoffice-commits] core.git: editeng/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 21 19:29:24 UTC 2019
editeng/source/editeng/editdoc.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 40d259217beb73ece0c0cd4a90d497e95a565745
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue May 14 21:25:31 2019 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue May 21 21:27:41 2019 +0200
Fix typo
Change-Id: I5f062a2d3260110b1108dd28c8a536652416acf2
Reviewed-on: https://gerrit.libreoffice.org/72692
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
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;
More information about the Libreoffice-commits
mailing list