diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-27 12:39:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-27 15:39:29 +0100 |
commit | a967c8f6847cf9cbd6e0f4b9f58f2023e1f92ae5 (patch) | |
tree | a00a7d73a3aa5d6d972c8a66e9357637edf62f9b /include/sfx2/watermarkitem.hxx | |
parent | 33bd6c3e3512bf96376534e116d6f9f60d157be9 (diff) |
loplugin:passstuffbyref improved return in xmloff,sfx2
Change-Id: I7161dfca77f944027bd20614616e22d6acfa27cd
Reviewed-on: https://gerrit.libreoffice.org/47081
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/watermarkitem.hxx')
-rw-r--r-- | include/sfx2/watermarkitem.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/watermarkitem.hxx b/include/sfx2/watermarkitem.hxx index 104c330e0a4b..43abdfeec081 100644 --- a/include/sfx2/watermarkitem.hxx +++ b/include/sfx2/watermarkitem.hxx @@ -22,9 +22,9 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - const OUString GetText() const { return m_aText; } + OUString const & GetText() const { return m_aText; } void SetText(const OUString& aText) { m_aText = aText; } - const OUString GetFont() const { return m_aFont; } + OUString const & GetFont() const { return m_aFont; } void SetFont(const OUString& aFont) { m_aFont = aFont; } sal_Int16 GetAngle() const { return m_nAngle; } void SetAngle(const sal_Int16 nAngle) { m_nAngle = nAngle; } |