summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xeescher.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:58:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitc6ef03093eb76274851744ecf463a373a814a47e (patch)
tree1d14ef52dbfd0ab2ee6b6cb9cbdb2f56fd93b3d0 /sc/source/filter/inc/xeescher.hxx
parent2eb5a59a220d4cd2167fb59349ab13ca7663b78d (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I2707d16e6dd7bc5617094963933fced147a496e8
Diffstat (limited to 'sc/source/filter/inc/xeescher.hxx')
-rw-r--r--sc/source/filter/inc/xeescher.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx
index 2113e1e52ae2..bd94a98dbfb2 100644
--- a/sc/source/filter/inc/xeescher.hxx
+++ b/sc/source/filter/inc/xeescher.hxx
@@ -169,7 +169,7 @@ public:
protected:
/** Tries to get spreadsheet cell link and source range link from the passed shape. */
void ConvertSheetLinks(
- css::uno::Reference< css::drawing::XShape > xShape );
+ css::uno::Reference< css::drawing::XShape > const & xShape );
/** Returns the Excel token array of the cell link, or 0, if no link present. */
inline const XclTokenArray* GetCellLinkTokArr() const { return mxCellLink.get(); }
@@ -211,7 +211,7 @@ public:
class XclExpShapeObj : public XclObjAny, public XclMacroHelper
{
public:
- explicit XclExpShapeObj( XclExpObjectManager& rRoot, css::uno::Reference< css::drawing::XShape > xShape, ScDocument* pDoc );
+ explicit XclExpShapeObj( XclExpObjectManager& rRoot, css::uno::Reference< css::drawing::XShape > const & xShape, ScDocument* pDoc );
virtual ~XclExpShapeObj();
private:
virtual void WriteSubRecs( XclExpStream& rStrm ) override;
@@ -226,7 +226,7 @@ class XclExpOcxControlObj : public XclObj, public XclExpControlHelper
public:
explicit XclExpOcxControlObj(
XclExpObjectManager& rObjMgr,
- css::uno::Reference< css::drawing::XShape > xShape,
+ css::uno::Reference< css::drawing::XShape > const & xShape,
const Rectangle* pChildAnchor,
const OUString& rClassName,
sal_uInt32 nStrmStart, sal_uInt32 nStrmSize );
@@ -248,7 +248,7 @@ class XclExpTbxControlObj : public XclObj, public XclMacroHelper
public:
explicit XclExpTbxControlObj(
XclExpObjectManager& rObjMgr,
- css::uno::Reference< css::drawing::XShape > xShape,
+ css::uno::Reference< css::drawing::XShape > const & xShape,
const Rectangle* pChildAnchor );
/** Sets the name of a macro attached to this control.
@@ -291,7 +291,7 @@ class XclExpChartObj : public XclObj, protected XclExpRoot
public:
explicit XclExpChartObj(
XclExpObjectManager& rObjMgr,
- css::uno::Reference< css::drawing::XShape > xShape,
+ css::uno::Reference< css::drawing::XShape > const & xShape,
const Rectangle* pChildAnchor );
virtual ~XclExpChartObj();