diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 11:29:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:52 +0200 |
commit | 523036daaddf466eee46183bbec9a71d45c48a41 (patch) | |
tree | 21582b9f2ac1b8714233d7cb4d4c1aba17a15c3e /include/sfx2/frame.hxx | |
parent | 746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (diff) |
loplugin:passstuffbyref in sfx2
Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054
Diffstat (limited to 'include/sfx2/frame.hxx')
-rw-r--r-- | include/sfx2/frame.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index ce2860d52d0c..df47419733f4 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -143,7 +143,7 @@ public: void GetTargetList( TargetList& ) const; void UpdateDescriptor( SfxObjectShell *pDoc ); void Resize(); - css::uno::Reference< css::frame::XFrame > + const css::uno::Reference< css::frame::XFrame >& GetFrameInterface() const; void Appear(); void AppearWithUpdate(); @@ -234,7 +234,7 @@ class SFX2_DLLPUBLIC SfxUsrAnyItem : public SfxPoolItem public: static SfxPoolItem* CreateDefault(); SfxUsrAnyItem( sal_uInt16 nWhich, const css::uno::Any& rAny ); - css::uno::Any GetValue() const + const css::uno::Any& GetValue() const { return aValue; } virtual bool operator==( const SfxPoolItem& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; |