summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 09:23:29 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 11:38:57 +0200
commit9f877f677346968774d4366f105114fe7f36dd69 (patch)
treed8fb1f3924b5956c8f693acb8df33ba9757f9dc1 /sd/source
parentb9d091e7d4eb3014aa6198f64f414702105b5aab (diff)
clang-tidy performance-unnecessary-value-param in oox
Change-Id: I1ac86906ea21c00f8d77834c94583be7d9e9974e
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index ad0c30fd226e..014ea00c74c9 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -117,9 +117,9 @@ public:
PowerPointShapeExport( FSHelperPtr pFS, ShapeHashMap* pShapeMap, PowerPointExport* pFB );
void SetMaster( bool bMaster );
void SetPageType( PageType ePageType );
- ShapeExport& WriteNonVisualProperties( Reference< XShape > xShape ) override;
- ShapeExport& WriteTextShape( Reference< XShape > xShape ) override;
- ShapeExport& WriteUnknownShape( Reference< XShape > xShape ) override;
+ ShapeExport& WriteNonVisualProperties( const Reference< XShape >& xShape ) override;
+ ShapeExport& WriteTextShape( const Reference< XShape >& xShape ) override;
+ ShapeExport& WriteUnknownShape( const Reference< XShape >& xShape ) override;
ShapeExport& WritePlaceholderShape( Reference< XShape > xShape, PlaceholderType ePlaceholder );
ShapeExport& WritePageShape( Reference< XShape > xShape, PageType ePageType, bool bPresObj );
@@ -232,14 +232,14 @@ void PowerPointShapeExport::SetPageType( PageType ePageType )
mePageType = ePageType;
}
-ShapeExport& PowerPointShapeExport::WriteNonVisualProperties( Reference< XShape > )
+ShapeExport& PowerPointShapeExport::WriteNonVisualProperties( const Reference< XShape >& )
{
GetFS()->singleElementNS( XML_p, XML_nvPr, FSEND );
return *this;
}
-ShapeExport& PowerPointShapeExport::WriteTextShape( Reference< XShape > xShape )
+ShapeExport& PowerPointShapeExport::WriteTextShape( const Reference< XShape >& xShape )
{
OUString sShapeType = xShape->getShapeType();
@@ -290,7 +290,7 @@ ShapeExport& PowerPointShapeExport::WriteTextShape( Reference< XShape > xShape )
return *this;
}
-ShapeExport& PowerPointShapeExport::WriteUnknownShape( Reference< XShape > xShape )
+ShapeExport& PowerPointShapeExport::WriteUnknownShape( const Reference< XShape >& xShape )
{
OUString sShapeType = xShape->getShapeType();