diff options
author | Justin Luth <jluth@mail.com> | 2022-07-27 10:43:00 -0400 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-08-01 09:36:41 +0200 |
commit | 4f48bdf758239b7928586c40d9072c65e4633009 (patch) | |
tree | 8841910cb925954516f67cd709557ed51f2c5219 /editeng | |
parent | f5882e84653a181744fa379996b76a65050beab4 (diff) |
remove NOP in editeng: HOLDDEPTH
The clause to get into this function already tells us that
HOLDDEPTH is offf. The functions called in here do not
turn it on, so there is no need to clear it at the end.
This looks unchanged since initial import.
I tested with an assert that the flags saved at the
beginning of the clause were identical to the
flags at the end, and ran a make check. No asserts.
Change-Id: I28bc8725062895d94f387fa0780a16e40b4efe5b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137541
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index ae4aac401bee..4d67810c7a77 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -456,7 +456,6 @@ void Outliner::SetText( const OUString& rText, Paragraph* pPara ) nCurDepth = nTabs-1; //TODO: sal_Int32 -> sal_Int16! ImplCheckDepth( nCurDepth ); pPara->SetDepth( nCurDepth ); - pPara->nFlags &= ~ParaFlag::HOLDDEPTH; } } if( nPos ) // not with the first paragraph |