summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 16:00:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commite4d7ed0394f39f77b3f99abff327e845e3b52083 (patch)
tree310ad18d778d9954347dce982dcdb4f3ee10febc /include/vbahelper
parent5f1e7fe6f0573b7b5565eb9d76b686ebc97a06ea (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I1d02b91f908c744dd3f7664cd453a791da7bd675
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx2
-rw-r--r--include/vbahelper/vbadocumentbase.hxx2
-rw-r--r--include/vbahelper/vbatextframe.hxx2
3 files changed, 3 insertions, 3 deletions
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;