From 567f51192483059ec57c16a6045141746d4b01f9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Mar 2015 15:49:35 +0000 Subject: V801: Decreased performance Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9 --- include/vbahelper/vbashape.hxx | 2 +- include/vbahelper/vbashapes.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx index 18aa3cc283cb..897ff5b0b0ea 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -56,7 +56,7 @@ public: css::uno::Any getRange() { return m_aRange; }; void setRange( css::uno::Any aRange ) { m_aRange = aRange; }; - static sal_Int32 getType( const css::uno::Reference< css::drawing::XShape > xShape ) throw (css::uno::RuntimeException); + static sal_Int32 getType( const css::uno::Reference< css::drawing::XShape >& rShape ) throw (css::uno::RuntimeException); // Attributes virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx index 05b09350518d..c4a58008e381 100644 --- a/include/vbahelper/vbashapes.hxx +++ b/include/vbahelper/vbashapes.hxx @@ -51,7 +51,7 @@ protected: //css::awt::Point calculateTopLeftMargin( css::uno::Reference< ov::XHelperInterface > xDocument ); 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 ); + 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 ); //XEnumerationAccess -- cgit