summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 16:05:03 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 08:33:32 +0200
commitdc0d98590f07c7dae4504b7ed0c0127794f032d8 (patch)
treeb3b926f947185f89f59788f8fc48e6305eac67ff /xmloff/inc
parent03fd8d24c2e4603731e796b24e51289736c65621 (diff)
clang-tidy performance-unnecessary-value-param in xmloff
Change-Id: I8e6d8e66cdab2e50ee10882e139be29c14ce50f6
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/PropertySetMerger.hxx4
-rw-r--r--xmloff/inc/StyleMap.hxx2
-rw-r--r--xmloff/inc/XMLChartPropertySetMapper.hxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/inc/PropertySetMerger.hxx b/xmloff/inc/PropertySetMerger.hxx
index 7a711d3ebe58..22ec387fa0b9 100644
--- a/xmloff/inc/PropertySetMerger.hxx
+++ b/xmloff/inc/PropertySetMerger.hxx
@@ -24,8 +24,8 @@
extern css::uno::Reference< css::beans::XPropertySet >
PropertySetMerger_CreateInstance(
- css::uno::Reference< css::beans::XPropertySet > rPropSet1,
- css::uno::Reference< css::beans::XPropertySet > rPropSet2 ) throw();
+ const css::uno::Reference< css::beans::XPropertySet >& rPropSet1,
+ const css::uno::Reference< css::beans::XPropertySet >& rPropSet2 ) throw();
#endif
diff --git a/xmloff/inc/StyleMap.hxx b/xmloff/inc/StyleMap.hxx
index 4d838abc2683..d11447d6ab0a 100644
--- a/xmloff/inc/StyleMap.hxx
+++ b/xmloff/inc/StyleMap.hxx
@@ -75,7 +75,7 @@ public:
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
static StyleMap* getImplementation(
- css::uno::Reference< css::uno::XInterface > ) throw();
+ const css::uno::Reference< css::uno::XInterface >& ) throw();
// XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething(
diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx
index 819865b5bf85..cb8dcd5a9222 100644
--- a/xmloff/inc/XMLChartPropertySetMapper.hxx
+++ b/xmloff/inc/XMLChartPropertySetMapper.hxx
@@ -52,7 +52,7 @@ protected:
virtual void ContextFilter(
bool bEnableFoFontFamily,
::std::vector< XMLPropertyState >& rProperties,
- css::uno::Reference<css::beans::XPropertySet > rPropSet ) const override;
+ const css::uno::Reference<css::beans::XPropertySet >& rPropSet ) const override;
private:
/// this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
@@ -74,7 +74,7 @@ public:
SvXMLExport& rExport );
virtual ~XMLChartExportPropertyMapper();
- void setChartDoc( css::uno::Reference< css::chart2::XChartDocument > xChartDoc );
+ void setChartDoc( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc );
};
class XMLChartImportPropertyMapper : public SvXMLImportPropertyMapper