ofz#15997 Timeout
Change-Id: I7d57e2286dd6a1c2d38479c41048e3a4801a66f2 Reviewed-on: https://gerrit.libreoffice.org/76073 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -1041,6 +1041,7 @@ std::unique_ptr<EditTextObject> ImpEditEngine::CreateTextObject( EditSelection a
|
|||||||
|
|
||||||
// The Text...
|
// The Text...
|
||||||
pC->SetText(pNode->Copy(nStartPos, nEndPos-nStartPos));
|
pC->SetText(pNode->Copy(nStartPos, nEndPos-nStartPos));
|
||||||
|
auto& rCAttriblist = pC->GetCharAttribs();
|
||||||
|
|
||||||
// and the Attribute...
|
// and the Attribute...
|
||||||
sal_uInt16 nAttr = 0;
|
sal_uInt16 nAttr = 0;
|
||||||
@@ -1068,7 +1069,7 @@ std::unique_ptr<EditTextObject> ImpEditEngine::CreateTextObject( EditSelection a
|
|||||||
if ( !pX->GetLen() && !bEmptyPara )
|
if ( !pX->GetLen() && !bEmptyPara )
|
||||||
pTxtObj->mpImpl->DestroyAttrib(std::move(pX));
|
pTxtObj->mpImpl->DestroyAttrib(std::move(pX));
|
||||||
else
|
else
|
||||||
pC->GetCharAttribs().push_back(std::move(pX));
|
rCAttriblist.push_back(std::move(pX));
|
||||||
}
|
}
|
||||||
nAttr++;
|
nAttr++;
|
||||||
pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr );
|
pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr );
|
||||||
|
Reference in New Issue
Block a user