From 4763091bbecab8722a43d0ed73eafc0a1f596242 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 May 2017 14:17:56 +0200 Subject: loplugin:constantparam Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2 Reviewed-on: https://gerrit.libreoffice.org/37390 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/doc/notxtfrm.cxx | 2 +- sw/source/uibase/dochdl/swdtflvr.cxx | 6 +++--- sw/source/uibase/docvw/romenu.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sw') diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index fce675b9225d..75cb237c5f36 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -589,7 +589,7 @@ void SwNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) if( pVSh ) { GraphicAttr aAttr; - if( pNd->GetGrfObj().IsCached( pVSh->GetOut(), Point(), + if( pNd->GetGrfObj().IsCached( pVSh->GetOut(), Prt().SSize(), &pNd->GetGraphicAttr( aAttr, this ) )) { for(SwViewShell& rShell : pVSh->GetRingContainer()) diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index b2428735bee8..57270b8e2a31 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -478,7 +478,7 @@ bool SwTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo else if( !rURL.GetURL().isEmpty() ) m_pTargetURL = new INetImage( aEmptyOUStr, rURL.GetURL(), rURL.GetTargetFrameName(), - aEmptyOUStr, Size() ); + aEmptyOUStr ); } } @@ -1004,7 +1004,7 @@ int SwTransferable::PrepareForCopy( bool bIsCut ) { m_pTargetURL = new INetImage( sGrfNm, rURL.GetURL(), rURL.GetTargetFrameName(), - aEmptyOUStr, Size() ); + aEmptyOUStr ); AddFormat( SotClipboardFormatId::INET_IMAGE ); } } @@ -3142,7 +3142,7 @@ void SwTransferable::SetDataForDragAndDrop( const Point& rSttPos ) { m_pTargetURL = new INetImage( sGrfNm, rURL.GetURL(), rURL.GetTargetFrameName(), - aEmptyOUStr, Size() ); + aEmptyOUStr ); AddFormat( SotClipboardFormatId::INET_IMAGE ); } } diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx index 18f0e5e37d10..79121f2239e4 100644 --- a/sw/source/uibase/docvw/romenu.cxx +++ b/sw/source/uibase/docvw/romenu.cxx @@ -152,7 +152,7 @@ SwReadOnlyPopup::SwReadOnlyPopup(const Point &rDPos, SwView &rV) pTargetURL = new INetImage( bLink ? sGrfName : OUString(), rURL.GetURL(), rURL.GetTargetFrameName(), - OUString(), Size() ); + OUString() ); } } -- cgit v1.2.3