summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpcontent.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-31 17:24:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-31 18:11:26 +0100
commit0b6aad2da3ef9c4c37fe141eb068e40d1ed4dfc0 (patch)
treefe40eb946de927b3d6ede5babf728f901adf2eb2 /lotuswordpro/source/filter/lwpcontent.hxx
parent35b8b7bc53b20d13d7fa8f75e81a266d2e62d3bc (diff)
loplugin:passstuffbyref improved return in lotuswordpro
Change-Id: I2e4103bb496ed3d0677d036e2f8cec76d001d682 Reviewed-on: https://gerrit.libreoffice.org/47222 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwpcontent.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpcontent.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpcontent.hxx b/lotuswordpro/source/filter/lwpcontent.hxx
index 4425af29a362..a9e15f05a89e 100644
--- a/lotuswordpro/source/filter/lwpcontent.hxx
+++ b/lotuswordpro/source/filter/lwpcontent.hxx
@@ -108,7 +108,7 @@ public:
rtl::Reference<LwpVirtualLayout> GetLayout(LwpVirtualLayout const * pStartLayout);
inline bool IsActive();
virtual bool IsTable();
- inline OUString GetClassName();
+ inline OUString const & GetClassName();
inline LwpContent* GetNextEnumerated();
bool HasNonEmbeddedLayouts();
bool IsStyleContent();
@@ -129,7 +129,7 @@ inline bool LwpContent::IsTable()
return false;
}
-inline OUString LwpContent::GetClassName()
+inline OUString const & LwpContent::GetClassName()
{
return m_ClassName.str();
}