From e4d7ed0394f39f77b3f99abff327e845e3b52083 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 Jul 2016 16:00:36 +0200 Subject: loplugin:passstuffbyref also for {css::uno,rtl}::Reference Change-Id: I1d02b91f908c744dd3f7664cd453a791da7bd675 --- include/vbahelper/vbacollectionimpl.hxx | 2 +- include/vbahelper/vbadocumentbase.hxx | 2 +- include/vbahelper/vbatextframe.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index 4877c64a6cf0..114380795df2 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -334,7 +334,7 @@ typedef ScVbaCollectionBase< XCollection_InterfacesBASE > CollImplBase; class VBAHELPER_DLLPUBLIC ScVbaCollectionBaseImpl : public CollImplBase { public: - ScVbaCollectionBaseImpl( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) throw( css::uno::RuntimeException ) : CollImplBase( xParent, xContext, xIndexAccess){} + ScVbaCollectionBaseImpl( const css::uno::Reference< ov::XHelperInterface > & xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) throw( css::uno::RuntimeException ) : CollImplBase( xParent, xContext, xIndexAccess){} }; diff --git a/include/vbahelper/vbadocumentbase.hxx b/include/vbahelper/vbadocumentbase.hxx index 1667c8812fca..1979c6cb6141 100644 --- a/include/vbahelper/vbadocumentbase.hxx +++ b/include/vbahelper/vbadocumentbase.hxx @@ -54,7 +54,7 @@ protected: const css::uno::Reference< css::frame::XModel >& getModel() { return mxModel; } public: VbaDocumentBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, - css::uno::Reference< css::frame::XModel > xModel ); + css::uno::Reference< css::frame::XModel > const & xModel ); VbaDocumentBase( css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext ); virtual ~VbaDocumentBase() {} diff --git a/include/vbahelper/vbatextframe.hxx b/include/vbahelper/vbatextframe.hxx index 5e2239a10ca2..f34920c9b9b8 100644 --- a/include/vbahelper/vbatextframe.hxx +++ b/include/vbahelper/vbatextframe.hxx @@ -56,7 +56,7 @@ protected: sal_Int32 getMargin( const OUString& sMarginType ); void setMargin( const OUString& sMarginType, float fMargin ); public: - VbaTextFrame( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext , css::uno::Reference< css::drawing::XShape > xShape); + VbaTextFrame( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext , css::uno::Reference< css::drawing::XShape > const & xShape); virtual ~VbaTextFrame() {} // Attributes virtual sal_Bool SAL_CALL getAutoSize() throw (css::uno::RuntimeException, std::exception) override; -- cgit