summaryrefslogtreecommitdiff
path: root/include/sfx2/ipclient.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:29:05 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commit523036daaddf466eee46183bbec9a71d45c48a41 (patch)
tree21582b9f2ac1b8714233d7cb4d4c1aba17a15c3e /include/sfx2/ipclient.hxx
parent746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (diff)
loplugin:passstuffbyref in sfx2
Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054
Diffstat (limited to 'include/sfx2/ipclient.hxx')
-rw-r--r--include/sfx2/ipclient.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/ipclient.hxx b/include/sfx2/ipclient.hxx
index f94d70608e6d..3419f08e8899 100644
--- a/include/sfx2/ipclient.hxx
+++ b/include/sfx2/ipclient.hxx
@@ -60,14 +60,14 @@ public:
SfxViewShell* GetViewShell() const { return m_pViewSh; }
vcl::Window* GetEditWin() const { return m_pEditWin; }
- css::uno::Reference < css::embed::XEmbeddedObject > GetObject() const;
+ const css::uno::Reference < css::embed::XEmbeddedObject >& GetObject() const;
void SetObject( const css::uno::Reference < css::embed::XEmbeddedObject >& rObject );
void SetObjectState( sal_Int32 );
bool IsObjectUIActive() const;
bool IsObjectInPlaceActive() const;
void DeactivateObject();
bool SetObjArea( const Rectangle & );
- Rectangle GetObjArea() const;
+ const Rectangle& GetObjArea() const;
Rectangle GetScaledObjArea() const;
void SetSizeScale( const Fraction & rScaleWidth, const Fraction & rScaleHeight );
void SetObjAreaAndScale( const Rectangle&, const Fraction&, const Fraction& );