diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 16:48:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 16:48:06 +0200 |
commit | c69c5ee809a014099a397ea0cc686405e778e882 (patch) | |
tree | 43200bf9f149ebe5417bf0656e885cfe66e0c98c /sw | |
parent | abfc45841025d64700c4bb3d0c5d2addb3886974 (diff) |
loplugin:defaultparams
Change-Id: If8cdddec3d092fc11ce0c571fc1788671755d2d6
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index bfa42d90b3c4..5d5c21d15c35 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 aeaf70245d41..8c0c8aca683d 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 |