Kaydet (Commit) 09af9756 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#125297 List Format wrongly applied to text pasted

regression from
    commit f4ea84ff
    Date:   Thu Apr 25 16:35:14 2019 +0200
    tdf#119650 slow saving spreadsheet with comments, part 1

Change-Id: I91b3c009fb8b6739e98537de227ab563828b9c80
Reviewed-on: https://gerrit.libreoffice.org/72842
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 479a93f6
......@@ -410,7 +410,11 @@ void Outliner::SetText( const OUString& rText, Paragraph* pPara )
sal_Int32 nPara = pParaList->GetAbsPos( pPara );
if (pEditEngine->GetText( nPara ) == rText)
return; // do nothing
// short-circuit logic to improve performance
bFirstParaIsEmpty = false;
bool bUpdate = pEditEngine->GetUpdateMode();
pEditEngine->SetUpdateMode( false );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment