diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 15:49:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 17:08:55 +0000 |
commit | 567f51192483059ec57c16a6045141746d4b01f9 (patch) | |
tree | e3f998a5fc8466ab30a2e11aa7ea1d16c2523fa5 /include/vbahelper | |
parent | ef6f2490a697e7c23fea40c567f751db05f1bbbf (diff) |
V801: Decreased performance
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbashape.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbashapes.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 |