diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:46 +0200 |
commit | 3b7609446ba50b6181843ce05f48c100087f3006 (patch) | |
tree | 8d75eb6130056197ff31391a2891d4919ca0fcef /sw/source/core/docnode/ndsect.cxx | |
parent | a003d8c59d0324ab3f44ec608f473e654ce48902 (diff) |
loplugin:defaultparams
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
Diffstat (limited to 'sw/source/core/docnode/ndsect.cxx')
-rw-r--r-- | sw/source/core/docnode/ndsect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index 9a02594bd361..0c09aa93d17b 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -297,7 +297,7 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionData & rNewData, if( !pPos->nContent.GetIndex() ) { pNewSectNode = GetNodes().InsertTextSection( - pPos->nNode, *pFormat, rNewData, pTOXBase, 0, true); + pPos->nNode, *pFormat, rNewData, pTOXBase, 0); } else if( pPos->nContent.GetIndex() == pCNd->Len() ) { @@ -312,7 +312,7 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionData & rNewData, } getIDocumentContentOperations().SplitNode( *pPos, false ); pNewSectNode = GetNodes().InsertTextSection( - pPos->nNode, *pFormat, rNewData, pTOXBase, 0, true); + pPos->nNode, *pFormat, rNewData, pTOXBase, 0); } } |