diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 15:11:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 15:12:11 +0200 |
commit | 2c93d340ae4e854b5c9d3aa8c38a8bba0ae6b74b (patch) | |
tree | fbacc0fb655c0f2eb71c737f316024a1b3274630 /include/vbahelper | |
parent | fb42d03b5a404ac73e24d90e094885c14c3b7584 (diff) |
clang-tidy performance-unnecessary-value-param in vbahelper
Change-Id: Ifbe78c4a43b9d77d6ecf481bb1a9aaac6bcd01a6
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbashapes.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |