writerfilter/source/dmapper/DomainMapper.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 537da891fe42f432ea5d9f5e44579ae9a11722e3
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Thu Feb 16 13:00:16 2023 -0500
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Thu Feb 16 20:36:15 2023 +0000

    remove redundant mbWasShapeInPara = false
    
    This is already reset in lcl_startParagraphGroup,
    so no need to do it explicitly here.
    
    It is not used by finishParagraph either, so safe to remove.
    
    Change-Id: I62781dd797566dd554be1f18cca1f4659fd606fc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147168
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index 85d91fd454fe..e32cc43f607a 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -4168,7 +4168,6 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, 
size_t len)
                 {
                     if (m_pImpl->GetIsFirstParagraphInSection() || 
!m_pImpl->IsFirstRun() || mbWasShapeInPara)
                     {
-                        mbWasShapeInPara = false;
                         mbIsSplitPara = true;
                         finishParagraph();
                         lcl_startParagraphGroup();

Reply via email to