diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 3553a5d3a899954c4db09e264d8faf07e817e564 (patch) | |
tree | 15f5d78ebe53ed498536c2d518a4cc2ad195c072 /svx/source/customshapes | |
parent | e624c13cf1732f42d2da212b1b96aa9de7dd66cf (diff) |
loplugin: defaultparams
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape2d.cxx | 4 | ||||
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index 71916865b8ba..f53e959cf21d 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -1130,7 +1130,7 @@ bool EnhancedCustomShape2d::GetHandlePosition( const sal_uInt32 nIndex, Point& r { if ( aHandle.nFlags & HandleFlags::POLAR ) { - Point aReferencePoint( GetPoint( aHandle.aPolar, true, false ) ); + Point aReferencePoint( GetPoint( aHandle.aPolar, true ) ); double fAngle; double fRadius; @@ -1159,7 +1159,7 @@ bool EnhancedCustomShape2d::GetHandlePosition( const sal_uInt32 nIndex, Point& r aHandle.aPosition.Second = aFirst; } } - rReturnPosition = GetPoint( aHandle.aPosition, true, false ); + rReturnPosition = GetPoint( aHandle.aPosition, true ); } const GeoStat aGeoStat( static_cast<SdrObjCustomShape*>(pCustomShapeObj)->GetGeoStat() ); if ( aGeoStat.nShearAngle ) diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index 7e033863237f..cfb6fd67909b 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -262,7 +262,7 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F ScopedVclPtrInstance< VirtualDevice > pVirDev( 1 ); pVirDev->SetMapMode( MAP_100TH_MM ); pVirDev->SetFont( aFont ); - pVirDev->EnableRTL( true ); + pVirDev->EnableRTL(); if ( aParagraphIter->nFrameDirection == FRMDIR_HORI_RIGHT_TOP ) pVirDev->SetLayoutMode( TEXT_LAYOUT_BIDI_RTL ); |