diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 16:05:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 08:33:32 +0200 |
commit | dc0d98590f07c7dae4504b7ed0c0127794f032d8 (patch) | |
tree | b3b926f947185f89f59788f8fc48e6305eac67ff /include/xmloff | |
parent | 03fd8d24c2e4603731e796b24e51289736c65621 (diff) |
clang-tidy performance-unnecessary-value-param in xmloff
Change-Id: I8e6d8e66cdab2e50ee10882e139be29c14ce50f6
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/animationexport.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/animexp.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/attrlist.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/txtparae.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlexp.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlexppr.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlimp.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlimppr.hxx | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/include/xmloff/animationexport.hxx b/include/xmloff/animationexport.hxx index d07678f7ad7f..1bb03536d0ec 100644 --- a/include/xmloff/animationexport.hxx +++ b/include/xmloff/animationexport.hxx @@ -43,8 +43,8 @@ public: AnimationsExporter( SvXMLExport& rExport, const css::uno::Reference< css::beans::XPropertySet >& xPageProps ); virtual ~AnimationsExporter(); - void prepare( css::uno::Reference< css::animations::XAnimationNode > xRootNode ); - void exportAnimations( css::uno::Reference< css::animations::XAnimationNode > xRootNode ); + void prepare( const css::uno::Reference< css::animations::XAnimationNode >& xRootNode ); + void exportAnimations( const css::uno::Reference< css::animations::XAnimationNode >& xRootNode ); }; } diff --git a/include/xmloff/animexp.hxx b/include/xmloff/animexp.hxx index 7276b477149d..cce1623f342e 100644 --- a/include/xmloff/animexp.hxx +++ b/include/xmloff/animexp.hxx @@ -36,8 +36,8 @@ public: XMLAnimationsExporter( XMLShapeExport* pShapeExp ); virtual ~XMLAnimationsExporter(); - void prepare( css::uno::Reference< css::drawing::XShape > xShape, SvXMLExport& rExport ); - void collect( css::uno::Reference< css::drawing::XShape > xShape, SvXMLExport& rExport ); + void prepare( const css::uno::Reference< css::drawing::XShape >& xShape, SvXMLExport& rExport ); + void collect( const css::uno::Reference< css::drawing::XShape >& xShape, SvXMLExport& rExport ); void exportAnimations( SvXMLExport& rExport ); }; diff --git a/include/xmloff/attrlist.hxx b/include/xmloff/attrlist.hxx index 55e3e4eb46ba..34567c2cd766 100644 --- a/include/xmloff/attrlist.hxx +++ b/include/xmloff/attrlist.hxx @@ -51,7 +51,7 @@ public: virtual ~SvXMLAttributeList(); static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); - static SvXMLAttributeList* getImplementation( css::uno::Reference< css::uno::XInterface > ) throw(); + static SvXMLAttributeList* getImplementation( const css::uno::Reference< css::uno::XInterface >& ) throw(); // XUnoTunnel virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx index ccf595bedf89..c578fad0e4bf 100644 --- a/include/xmloff/txtparae.hxx +++ b/include/xmloff/txtparae.hxx @@ -585,7 +585,7 @@ public: */ void PreventExportOfControlsInMuteSections( const css::uno::Reference< css::container::XIndexAccess> & rShapes, - rtl::Reference<xmloff::OFormLayerXMLExport> xFormExport ); + const rtl::Reference<xmloff::OFormLayerXMLExport>& xFormExport ); SinglePropertySetInfoCache& GetCharStyleNamesPropInfoCache() { return aCharStyleNamesPropInfoCache; } diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 38f08c7ebca5..6240cb7a9f3d 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -297,7 +297,7 @@ public: virtual ~SvXMLExport(); static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); - static SvXMLExport* getImplementation( css::uno::Reference< css::uno::XInterface > ) throw(); + static SvXMLExport* getImplementation( const css::uno::Reference< css::uno::XInterface >& ) throw(); // XExporter virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx index b293e768bd78..0df386996248 100644 --- a/include/xmloff/xmlexppr.hxx +++ b/include/xmloff/xmlexppr.hxx @@ -71,7 +71,7 @@ protected: virtual void ContextFilter( bool bEnableFoFontFamily, ::std::vector< XMLPropertyState >& rProperties, - css::uno::Reference<css::beans::XPropertySet > rPropSet ) const; + const css::uno::Reference<css::beans::XPropertySet >& rPropSet ) const; /** fills the given attribute list with the items in the given set */ void _exportXML( sal_uInt16 nPropType, sal_uInt16& rPropTypeFlags, diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 6cc8607b691b..5eda0d44bb5a 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -436,7 +436,7 @@ public: OUString const & i_rXmlId); /// Add a RDFa statement; parameters are XML attribute values - void AddRDFa( css::uno::Reference< css::rdf::XMetadatable> i_xObject, + void AddRDFa( const css::uno::Reference< css::rdf::XMetadatable>& i_xObject, OUString const & i_rAbout, OUString const & i_rProperty, OUString const & i_rContent, diff --git a/include/xmloff/xmlimppr.hxx b/include/xmloff/xmlimppr.hxx index 640d7bbf4c1c..cd140e8bca0b 100644 --- a/include/xmloff/xmlimppr.hxx +++ b/include/xmloff/xmlimppr.hxx @@ -84,7 +84,7 @@ public: */ void importXML( ::std::vector< XMLPropertyState >& rProperties, - css::uno::Reference< css::xml::sax::XAttributeList > xAttrList, + const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, sal_uInt32 nPropType, |