diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-12 15:10:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 11:11:14 +0200 |
commit | 1656a7ff431df8e1d65698953051086fbf90a266 (patch) | |
tree | 9e9fb9994d046f36ada637f5e600bd83fbbb84bd /oox/source/export | |
parent | 9e1d98fec2884e4c401aa0d5396612aa01773dc8 (diff) |
loplugin: defaultparams
Change-Id: Iabcea466cb23e7a7a432f953cc03aaa1c2dc1d65
Diffstat (limited to 'oox/source/export')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 | ||||
-rw-r--r-- | oox/source/export/shapes.cxx | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index b5ef21f8b190..01d5cd00ac27 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -3271,7 +3271,7 @@ OString DrawingML::WriteWdpPicture( const OUString& rFileId, const Sequence< sal sId = mpFB->addRelation( mpFS->getOutputStream(), "http://schemas.microsoft.com/office/2007/relationships/hdphoto", - sFileName, false ); + sFileName ); maWdpCache[rFileId] = sId; return OUStringToOString( sId, RTL_TEXTENCODING_UTF8 ); diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index 158de6bdfe22..f9072e4b7278 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -487,9 +487,9 @@ ShapeExport& ShapeExport::WriteCustomShape( Reference< XShape > xShape ) pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND ); // moon is flipped in MSO, and mso-spt89 (right up arrow) is mapped to leftUpArrow if ( sShapeType == "moon" || sShapeType == "mso-spt89" ) - WriteShapeTransformation( xShape, XML_a, !bFlipH, bFlipV, false); + WriteShapeTransformation( xShape, XML_a, !bFlipH, bFlipV ); else - WriteShapeTransformation( xShape, XML_a, bFlipH, bFlipV, false); + WriteShapeTransformation( xShape, XML_a, bFlipH, bFlipV ); // we export non-primitive shapes to custom geometry // we also export non-ooxml shapes which have handles/equations to custom geometry, because @@ -576,7 +576,7 @@ ShapeExport& ShapeExport::WriteEllipseShape( Reference< XShape > xShape ) // visual shape properties pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND ); - WriteShapeTransformation( xShape, XML_a, false, false, false); + WriteShapeTransformation( xShape, XML_a, false, false); WritePresetShape( "ellipse" ); Reference< XPropertySet > xProps( xShape, UNO_QUERY ); if( xProps.is() ) @@ -684,7 +684,7 @@ void ShapeExport::WriteGraphicObjectShapePart( Reference< XShape > xShape, const // visual shape properties pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND ); - WriteShapeTransformation( xShape, XML_a, false, false, false); + WriteShapeTransformation( xShape, XML_a, false, false); WritePresetShape( "rect" ); // graphic object can come with the frame (bnc#654525) WriteOutline( xShapeProps ); @@ -897,7 +897,7 @@ ShapeExport& ShapeExport::WriteRectangleShape( Reference< XShape > xShape ) // visual shape properties pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND ); - WriteShapeTransformation( xShape, XML_a, false, false, false); + WriteShapeTransformation( xShape, XML_a, false, false); WritePresetShape( "rect" ); Reference< XPropertySet > xProps( xShape, UNO_QUERY ); if( xProps.is() ) @@ -1338,7 +1338,7 @@ ShapeExport& ShapeExport::WriteTextShape( Reference< XShape > xShape ) // visual shape properties pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND ); - WriteShapeTransformation( xShape, XML_a, false, false, false); + WriteShapeTransformation( xShape, XML_a, false, false); WritePresetShape( "rect" ); uno::Reference<beans::XPropertySet> xPropertySet(xShape, UNO_QUERY); WriteBlipOrNormalFill(xPropertySet, "GraphicURL"); |