diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 13:32:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 40f8d2566022140ca3f2d45d7cbd8b7ab51125ed (patch) | |
tree | 4a8bd6baf43f3789425ff8d7e988e7928942169f /svx/source/inc/fmexpl.hxx | |
parent | cb4015bb28dd7430efaaa523d04a155eb7e46305 (diff) |
loplugin:passstuffbyref in svx
Change-Id: I7d405830785cb12aaceb65d6ed03dda04aa90fd8
Diffstat (limited to 'svx/source/inc/fmexpl.hxx')
-rw-r--r-- | svx/source/inc/fmexpl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx index d3b606aecb98..1059b262b8b5 100644 --- a/svx/source/inc/fmexpl.hxx +++ b/svx/source/inc/fmexpl.hxx @@ -110,7 +110,7 @@ public: virtual ~FmNavNameChangedHint(); FmEntryData* GetEntryData() const { return pEntryData; } - OUString GetNewName() const { return aNewName; } + const OUString& GetNewName() const { return aNewName; } }; @@ -163,7 +163,7 @@ public: const Image& GetNormalImage() const { return m_aNormalImage; } - OUString GetText() const { return aText; } + const OUString& GetText() const { return aText; } FmEntryData* GetParent() const { return pParent; } FmEntryDataList* GetChildList() const { return pChildList; } |