summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-29 16:48:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-29 16:48:06 +0200
commitc69c5ee809a014099a397ea0cc686405e778e882 (patch)
tree43200bf9f149ebe5417bf0656e885cfe66e0c98c /sw
parentabfc45841025d64700c4bb3d0c5d2addb3886974 (diff)
loplugin:defaultparams
Change-Id: If8cdddec3d092fc11ce0c571fc1788671755d2d6
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docfmt.cxx2
-rw-r--r--sw/source/core/doc/docnew.cxx2
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