summaryrefslogtreecommitdiff
path: root/sw/source/core/fields
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:46 +0200
commit3b7609446ba50b6181843ce05f48c100087f3006 (patch)
tree8d75eb6130056197ff31391a2891d4919ca0fcef /sw/source/core/fields
parenta003d8c59d0324ab3f44ec608f473e654ce48902 (diff)
loplugin:defaultparams
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
Diffstat (limited to 'sw/source/core/fields')
-rw-r--r--sw/source/core/fields/expfld.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index 3978d5ab58c5..252f1b946019 100644
--- a/sw/source/core/fields/expfld.cxx
+++ b/sw/source/core/fields/expfld.cxx
@@ -245,7 +245,7 @@ const SwTextNode* GetBodyTextNode( const SwDoc& rDoc, SwPosition& rPos,
{
Point aPt( pLayout->Frm().Pos() );
aPt.Y()++; // get out of the header
- pCntFrm = pPgFrm->GetContentPos( aPt, false, true, false );
+ pCntFrm = pPgFrm->GetContentPos( aPt, false, true );
pTextNode = GetFirstTextNode( rDoc, rPos, pCntFrm, aPt );
}
}
@@ -594,7 +594,7 @@ size_t SwSetExpFieldType::GetSeqFieldList( SwSeqFieldList& rList )
pNd->GetNodes().IsDocNodes() )
{
_SeqFieldLstElem* pNew = new _SeqFieldLstElem(
- pNd->GetExpandText( 0, -1 ),
+ pNd->GetExpandText(),
static_cast<SwSetExpField*>(pF->GetField())->GetSeqNumber() );
rList.InsertSort( pNew );
}