[Libreoffice-commits] core.git: editeng/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jul 21 18:58:36 UTC 2019
editeng/source/editeng/impedit4.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a65a32fd8acf76f1bcd96113ca6866f53d9543e1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jul 21 17:25:23 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jul 21 20:57:29 2019 +0200
ofz#15997 Timeout
Change-Id: I7d57e2286dd6a1c2d38479c41048e3a4801a66f2
Reviewed-on: https://gerrit.libreoffice.org/76073
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 75abcf0448b6..12a2e522e9d9 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1041,6 +1041,7 @@ std::unique_ptr<EditTextObject> ImpEditEngine::CreateTextObject( EditSelection a
// The Text...
pC->SetText(pNode->Copy(nStartPos, nEndPos-nStartPos));
+ auto& rCAttriblist = pC->GetCharAttribs();
// and the Attribute...
sal_uInt16 nAttr = 0;
@@ -1068,7 +1069,7 @@ std::unique_ptr<EditTextObject> ImpEditEngine::CreateTextObject( EditSelection a
if ( !pX->GetLen() && !bEmptyPara )
pTxtObj->mpImpl->DestroyAttrib(std::move(pX));
else
- pC->GetCharAttribs().push_back(std::move(pX));
+ rCAttriblist.push_back(std::move(pX));
}
nAttr++;
pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr );
More information about the Libreoffice-commits
mailing list