summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
commit0705f7da48bf36949dd323ba0103db86708e00e7 (patch)
tree7083e0abcc5b9a17700498b97520cd8c8faa72e8 /sw/source/core/txtnode
parent85ce992473a435497014f856f95f3914783f8d72 (diff)
loplugin:defaultparams
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/atrftn.cxx2
-rw-r--r--sw/source/core/txtnode/thints.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx
index 4bcd38799c57..fe0c97bccf26 100644
--- a/sw/source/core/txtnode/atrftn.cxx
+++ b/sw/source/core/txtnode/atrftn.cxx
@@ -384,7 +384,7 @@ void SwTextFootnote::CopyFootnote(
SwNodeIndex aEnd( *aStart.GetNode().EndOfSectionNode() );
sal_uLong nDestLen = aEnd.GetIndex() - aStart.GetIndex() - 1;
- m_pTextNode->GetDoc()->GetDocumentContentOperationsManager().CopyWithFlyInFly( aRg, 0, aEnd, NULL );
+ m_pTextNode->GetDoc()->GetDocumentContentOperationsManager().CopyWithFlyInFly( aRg, 0, aEnd );
// in case the destination section was not empty, delete the old nodes
// before: Src: SxxxE, Dst: SnE
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 9c69382b2e40..0872df429c6d 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1932,7 +1932,7 @@ bool SwTextNode::SetAttr(
static_cast<const SwFormatCharFormat*>(pItem)->GetCharFormat()))
{
SwIndex aIndex( this, nStt );
- RstTextAttr( aIndex, nEnd - nStt, RES_TXTATR_CHARFMT, 0 );
+ RstTextAttr( aIndex, nEnd - nStt, RES_TXTATR_CHARFMT );
DontExpandFormat( aIndex );
}
else