From 2c93d340ae4e854b5c9d3aa8c38a8bba0ae6b74b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Apr 2016 15:11:42 +0200 Subject: clang-tidy performance-unnecessary-value-param in vbahelper Change-Id: Ifbe78c4a43b9d77d6ecf481bb1a9aaac6bcd01a6 --- include/vbahelper/vbashapes.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx index 22ba0aaa77f1..78bdc3391870 100644 --- a/include/vbahelper/vbashapes.hxx +++ b/include/vbahelper/vbashapes.hxx @@ -52,8 +52,8 @@ protected: public: ScVbaShapes( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xShapes, const css::uno::Reference< css::frame::XModel >& xModel ); - static void setDefaultShapeProperties( css::uno::Reference< css::drawing::XShape > xShape ) throw (css::uno::RuntimeException); - static void setShape_NameProperty( css::uno::Reference< css::drawing::XShape > xShape, const OUString& sName ); + static void setDefaultShapeProperties( const css::uno::Reference< css::drawing::XShape >& xShape ) throw (css::uno::RuntimeException); + static void setShape_NameProperty( const css::uno::Reference< css::drawing::XShape >& xShape, const OUString& sName ); //XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException) override; -- cgit