diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-06-21 18:59:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-22 14:00:41 +0200 |
commit | 858bc4d76bb49ff1766e5d4bd404b04d61201c37 (patch) | |
tree | 0f4a443764d78d3d2fbba92a4200fbea2215000f /editeng | |
parent | b7fce2b26ee4ba585544457adc742807a2129d2c (diff) |
no need to call FormatDoc() after calling CheckIdleFormatter()
CheckIdleFormatter() already does that
Change-Id: Ie6b9e3285303899e3f67cccb0fc5f5625c8db684
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169343
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 27ff1831fb62..411b96b8dfe8 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1175,8 +1175,6 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor ) return; getEditEngine().CheckIdleFormatter(); - if (!getEditEngine().IsFormatted()) - getImpEditEngine().FormatDoc(); // For some reasons I end up here during the formatting, if the Outliner // is initialized in Paint, because no SetPool(); diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 13f13b6fe491..35070a4dd740 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -296,8 +296,6 @@ ErrCode ImpEditEngine::WriteRTF( SvStream& rOutput, EditSelection aSel, bool bCl { assert( IsUpdateLayout() && "WriteRTF for UpdateMode = sal_False!" ); CheckIdleFormatter(); - if ( !IsFormatted() ) - FormatDoc(); sal_Int32 nStartNode, nEndNode; aSel.Adjust( maEditDoc ); |