diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 15:33:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:40 +0200 |
commit | 89fa923a28fb351bb4faad1f69ca94d17f8a5b06 (patch) | |
tree | 55472b67e354712f0f8f6fd0b54a248a0f71018d /sw/inc/unodraw.hxx | |
parent | d1f6f79d0df21c2bb3be9d191233eabf22afb14e (diff) |
loplugin:passstuffbyref in sw
Change-Id: I124bdd4f28c7d7508e77b902dfa23c398454bf38
Diffstat (limited to 'sw/inc/unodraw.hxx')
-rw-r--r-- | sw/inc/unodraw.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx index 8a14e748f377..1f66b81c81f0 100644 --- a/sw/inc/unodraw.hxx +++ b/sw/inc/unodraw.hxx @@ -272,7 +272,7 @@ public: SwShapeDescriptor_Impl* GetDescImpl() {return pImpl;} SwFrameFormat* GetFrameFormat() const { return const_cast<SwFrameFormat*>(static_cast<const SwFrameFormat*>(GetRegisteredIn())); } - css::uno::Reference< css::uno::XAggregation > GetAggregationInterface() {return xShapeAgg;} + const css::uno::Reference< css::uno::XAggregation >& GetAggregationInterface() {return xShapeAgg;} // helper static void AddExistingShapeToFormat( SdrObject& _rObj ); |