diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 774d3ad52cf9..27aa19ed2992 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -2735,7 +2735,7 @@ void CharAttribList::InsertAttrib( EditCharAttrib* pAttrib ) // Maybe just simply iterate backwards: // The most common and critical case: Attributes are already sorted - // (InsertBinTextObject!) binary search would not be optimal here. + // (InsertTextObject!) binary search would not be optimal here. // => Would bring something! const sal_Int32 nStart = pAttrib->GetStart(); // may be better for Comp.Opt. diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 579f8d73c30a..9f8cc2cb76df 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -309,7 +309,7 @@ EditTextObjectImpl::EditTextObjectImpl( const EditTextObjectImpl& r ) if ( !r.mbOwnerOfPool ) { // reuse alien pool; this must be an EditEngineItemPool - // since there is no other way to construct a BinTextObject + // since there is no other way to construct an EditTextObject // than it's regular constructor where that is ensured mpPool = r.mpPool; mbOwnerOfPool = false; diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 962939fa1914..1786b3215d88 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -1073,7 +1073,7 @@ std::unique_ptr<EditTextObject> ImpEditEngine::CreateTextObject( EditSelection a if ( aX.GetEnd() > (nEndPos-nStartPos) ) aX.GetEnd() = nEndPos-nStartPos; } - DBG_ASSERT( aX.GetEnd() <= (nEndPos-nStartPos), "CreateBinTextObject: Attribute too long!" ); + DBG_ASSERT( aX.GetEnd() <= (nEndPos-nStartPos), "CreateTextObject: Attribute too long!" ); if ( !aX.GetLen() && !bEmptyPara ) pTxtObj->DestroyAttrib(aX); else @@ -1324,7 +1324,7 @@ EditSelection ImpEditEngine::InsertTextObject( const EditTextObject& rTextObject nTPLen += rParaPortion.GetTextPortions()[--nTest].GetLen(); for ( nTest = rParaPortion.GetLines().Count(); nTest; ) nTxtLen += rParaPortion.GetLines()[--nTest].GetLen(); - DBG_ASSERT( ( nTPLen == rParaPortion.GetNode()->Len() ) && ( nTxtLen == rParaPortion.GetNode()->Len() ), "InsertBinTextObject: ParaPortion not completely formatted!" ); + DBG_ASSERT( ( nTPLen == rParaPortion.GetNode()->Len() ) && ( nTxtLen == rParaPortion.GetNode()->Len() ), "InsertTextObject: ParaPortion not completely formatted!" ); #endif } } |