summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwppara1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:10:47 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:49 +0200
commit6319265b13321d6bfb527c7bd5b910d4dce4f203 (patch)
treee7ebfa9f8b20e288326f9e80b0a2f51017f7cb6e /lotuswordpro/source/filter/lwppara1.cxx
parentFix fdo#75936 set limit for decreasing indent (diff)
downloadcore-6319265b13321d6bfb527c7bd5b910d4dce4f203.tar.gz
core-6319265b13321d6bfb527c7bd5b910d4dce4f203.zip
lotuswordpro: prefer passing OUString by reference
Change-Id: Ic94616a7bc34ec5a85ea84178c7d798194201ebe
Diffstat (limited to 'lotuswordpro/source/filter/lwppara1.cxx')
-rw-r--r--lotuswordpro/source/filter/lwppara1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index fbc67e2912f4..a8cb05e83bb1 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -134,7 +134,7 @@ OUString LwpPara::GetContentText(sal_Bool bAllText)
/**
* @short set text of paragraph
*/
-void LwpPara::SetAllText(OUString sText)
+void LwpPara::SetAllText(const OUString& sText)
{
m_AllText+=sText;
}
@@ -142,7 +142,7 @@ void LwpPara::SetAllText(OUString sText)
/**
* @short set first frib content
*/
-void LwpPara::SetFirstFrib(OUString Content,sal_uInt32 FontID)
+void LwpPara::SetFirstFrib(const OUString& Content,sal_uInt32 FontID)
{
m_FontID= FontID;
m_Content=Content;