summaryrefslogtreecommitdiff
path: root/svx/source/customshapes
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:42:40 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:18 +0200
commit3553a5d3a899954c4db09e264d8faf07e817e564 (patch)
tree15f5d78ebe53ed498536c2d518a4cc2ad195c072 /svx/source/customshapes
parente624c13cf1732f42d2da212b1b96aa9de7dd66cf (diff)
loplugin: defaultparams
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx4
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFontWork.cxx2
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 );