sw/source/core/edit/autofmt.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 64216c8b2c451659a1f08211685e4d8ac2685de8
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Mon Jul 3 08:08:31 2023 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Mon Jul 3 09:21:06 2023 +0200

    No need to name the temporaries
    
    Change-Id: Idadb3473afd7890d329cc8effff7ec985d06c2e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153846
    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 5c94b3ee2052..b7991e7f237b 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -2735,14 +2735,14 @@ void SwEditShell::AutoFormat( const 
SvxSwAutoFormatFlags* pAFlags )
         {
             if( rPaM.HasMark() )
             {
-                SwAutoFormat aFormat( this, aAFFlags, &rPaM.Start()->GetNode(),
+                SwAutoFormat( this, aAFFlags, &rPaM.Start()->GetNode(),
                                      &rPaM.End()->GetNode() );
             }
         }
     }
     else
     {
-        SwAutoFormat aFormat( this, std::move(aAFFlags) );
+        SwAutoFormat( this, std::move(aAFFlags) );
     }
 
     EndUndo( SwUndoId::AUTOFORMAT );

Reply via email to