summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/paintfrm.cxx
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/layout/paintfrm.cxx
parenta003d8c59d0324ab3f44ec608f473e654ce48902 (diff)
loplugin:defaultparams
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
Diffstat (limited to 'sw/source/core/layout/paintfrm.cxx')
-rw-r--r--sw/source/core/layout/paintfrm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index f51953ca30c4..31b5dae4fadf 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -4226,7 +4226,7 @@ void SwFlyFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw
const SwBorderAttrs &rAttrs = *aAccess.Get();
SwRect aPaintRect( aRect );
aPaintRect._Intersection( pParentFlyFrm->Frm() );
- pParentFlyFrm->PaintBackground( aPaintRect, pPage, rAttrs, false, false );
+ pParentFlyFrm->PaintBackground( aPaintRect, pPage, rAttrs );
gProp.pSRetoucheFly2 = pOldRet;
}
@@ -7650,7 +7650,7 @@ Graphic SwFlyFrameFormat::MakeGraphic( ImageMap* pMap )
gProp.pSGlobalShell = pSh;
bool bNoteURL = pMap &&
- SfxItemState::SET != GetAttrSet().GetItemState( RES_URL, true );
+ SfxItemState::SET != GetAttrSet().GetItemState( RES_URL );
if( bNoteURL )
{
OSL_ENSURE( !pNoteURL, "MakeGraphic: pNoteURL already used? " );