[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Mon Aug 29 14:48:33 UTC 2016


 sw/source/core/doc/docfmt.cxx |    2 +-
 sw/source/core/doc/docnew.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c69c5ee809a014099a397ea0cc686405e778e882
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Aug 29 16:48:06 2016 +0200

    loplugin:defaultparams
    
    Change-Id: If8cdddec3d092fc11ce0c571fc1788671755d2d6

diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index bfa42d9..5d5c21d 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -2039,7 +2039,7 @@ SwFrameFormats::SwFrameFormats()
 
 SwFrameFormats::~SwFrameFormats()
 {
-    DeleteAndDestroyAll( false );
+    DeleteAndDestroyAll();
 }
 
 SwFrameFormats::iterator SwFrameFormats::find( const value_type& x ) const
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index aeaf702..8c0c8ac 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -1047,7 +1047,7 @@ SwNodeIndex SwDoc::AppendDoc(const SwDoc& rSource, sal_uInt16 const nStartPageNu
             {
                 pTargetShell->SttEndDoc( false );
                 --aBreakIdx;
-                GetNodes().Delete( aBreakIdx, 1 );
+                GetNodes().Delete( aBreakIdx );
             }
 
             // There is now a new empty text node on the new page. If it has


More information about the Libreoffice-commits mailing list