summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commiteb96c8634a890071c72592a51afdacc2120a08b9 (patch)
treeb51df50a38b6cf0c6cdce036e640fd7695c9ad52 /include
parentb917adc4d6679dac5aa96b3fb2f09f7155ea85db (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ie219b6b6cc876cb46faadd7aa9c4f997702781bb
Diffstat (limited to 'include')
-rw-r--r--include/svx/SmartTagMgr.hxx2
-rw-r--r--include/svx/drawitem.hxx14
-rw-r--r--include/svx/gridctrl.hxx2
-rw-r--r--include/svx/svdmodel.hxx2
-rw-r--r--include/svx/unoshape.hxx2
5 files changed, 11 insertions, 11 deletions
diff --git a/include/svx/SmartTagMgr.hxx b/include/svx/SmartTagMgr.hxx
index ae741ac48f6c..0a7cfcc4c700 100644
--- a/include/svx/SmartTagMgr.hxx
+++ b/include/svx/SmartTagMgr.hxx
@@ -72,7 +72,7 @@ struct ActionReference
{
css::uno::Reference< css::smarttags::XSmartTagAction > mxSmartTagAction;
sal_Int32 mnSmartTagIndex;
- ActionReference( css::uno::Reference< css::smarttags::XSmartTagAction > xSmartTagAction, sal_Int32 nSmartTagIndex )
+ ActionReference( css::uno::Reference< css::smarttags::XSmartTagAction > const & xSmartTagAction, sal_Int32 nSmartTagIndex )
: mxSmartTagAction( xSmartTagAction), mnSmartTagIndex( nSmartTagIndex ) {}
};
diff --git a/include/svx/drawitem.hxx b/include/svx/drawitem.hxx
index 1d7068c2fdd4..905b5aec8a9e 100644
--- a/include/svx/drawitem.hxx
+++ b/include/svx/drawitem.hxx
@@ -32,7 +32,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxColorListItem();
- SvxColorListItem( XColorListRef pTable,
+ SvxColorListItem( XColorListRef const & pTable,
sal_uInt16 nWhich );
SvxColorListItem( const SvxColorListItem& );
@@ -57,7 +57,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxGradientListItem();
- SvxGradientListItem( XGradientListRef pList,
+ SvxGradientListItem( XGradientListRef const & pList,
sal_uInt16 nWhich );
SvxGradientListItem( const SvxGradientListItem& );
@@ -81,7 +81,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxHatchListItem : public SfxPoolItem
public:
static SfxPoolItem* CreateDefault();
SvxHatchListItem();
- SvxHatchListItem( XHatchListRef pList,
+ SvxHatchListItem( XHatchListRef const & pList,
sal_uInt16 nWhich );
SvxHatchListItem( const SvxHatchListItem& );
@@ -106,7 +106,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxBitmapListItem();
- SvxBitmapListItem( XBitmapListRef pBL,
+ SvxBitmapListItem( XBitmapListRef const & pBL,
sal_uInt16 nWhich );
SvxBitmapListItem( const SvxBitmapListItem& );
@@ -131,7 +131,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxPatternListItem();
- SvxPatternListItem( XPatternListRef pBL,
+ SvxPatternListItem( XPatternListRef const & pBL,
sal_uInt16 nWhich );
SvxPatternListItem( const SvxPatternListItem& );
@@ -155,7 +155,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxDashListItem();
- SvxDashListItem( XDashListRef pList,
+ SvxDashListItem( XDashListRef const & pList,
sal_uInt16 nWhich );
SvxDashListItem( const SvxDashListItem& );
@@ -180,7 +180,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxLineEndListItem();
- SvxLineEndListItem( XLineEndListRef pList,
+ SvxLineEndListItem( XLineEndListRef const & pList,
sal_uInt16 nWhich );
SvxLineEndListItem( const SvxLineEndListItem& );
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index d0945b5278fb..6a66085c6bf7 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -362,7 +362,7 @@ protected:
public:
DbGridControl(
- css::uno::Reference< css::uno::XComponentContext >,
+ css::uno::Reference< css::uno::XComponentContext > const & _rxContext,
vcl::Window* pParent,
WinBits nBits = WB_BORDER);
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 81ec9c52f84d..e86209aaf930 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -502,7 +502,7 @@ public:
// Accessor methods for Palettes, Lists and Tables
// FIXME: this badly needs re-factoring...
const XPropertyListRef& GetPropertyList( XPropertyListType t ) const { return maProperties[ t ]; }
- void SetPropertyList( XPropertyListRef p ) { maProperties[ p->Type() ] = p; }
+ void SetPropertyList( XPropertyListRef const & p ) { maProperties[ p->Type() ] = p; }
// friendlier helpers
XDashListRef GetDashList() const { return XPropertyList::AsDashList(GetPropertyList( XDASH_LIST )); }
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 79e3f02b4d50..71cc3ca51742 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -893,7 +893,7 @@ private:
m_xDummyObject;
public:
- SvxDummyShapeContainer( css::uno::Reference< css::drawing::XShapes > xWrappedObject );
+ SvxDummyShapeContainer( css::uno::Reference< css::drawing::XShapes > const & xWrappedObject );
virtual ~SvxDummyShapeContainer() throw();
const css::uno::Reference< css::drawing::XShapes >& getWrappedShape()