sw/source/core/edit/autofmt.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 756bef92bebe7d8549ed4ddbf560a1b1e63af885
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sun Jul 2 06:37:11 2023 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sun Jul 2 18:16:09 2023 +0200

    Drop redundant assignment
    
    Assigned the same value a couple lines above.
    
    Change-Id: Id1117189142fab373f5057f8f48a49b265a07fe7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153842
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 010e0b20b80e..5c94b3ee2052 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -2282,7 +2282,6 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, 
SvxSwAutoFormatFlags aFlags,
 
     if( !m_aFlags.bAFormatByInput )
     {
-        m_nEndNdIdx = m_aEndNdIdx.GetIndex();
         ::StartProgress( STR_STATSTR_AUTOFORMAT, 
sal_Int32(m_aNdIdx.GetIndex()),
                          sal_Int32(m_nEndNdIdx),
                          m_pDoc->GetDocShell() );

Reply via email to