summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpfrib.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/lwpfrib.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/lwpfrib.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfrib.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfrib.cxx b/lotuswordpro/source/filter/lwpfrib.cxx
index d4bda5520845..f9ea79dd801c 100644
--- a/lotuswordpro/source/filter/lwpfrib.cxx
+++ b/lotuswordpro/source/filter/lwpfrib.cxx
@@ -383,7 +383,7 @@ sal_Bool LwpFrib::HasNextFrib()
return sal_True;
}
-void LwpFrib::ConvertChars(XFContentContainer* pXFPara,OUString text)
+void LwpFrib::ConvertChars(XFContentContainer* pXFPara,const OUString& text)
{
if (m_ModFlag)
{
@@ -399,7 +399,7 @@ void LwpFrib::ConvertChars(XFContentContainer* pXFPara,OUString text)
}
}
-void LwpFrib::ConvertHyperLink(XFContentContainer* pXFPara,LwpHyperlinkMgr* pHyperlink,OUString text)
+void LwpFrib::ConvertHyperLink(XFContentContainer* pXFPara,LwpHyperlinkMgr* pHyperlink,const OUString& text)
{
XFHyperlink* pHyper = new XFHyperlink;
pHyper->SetHRef(pHyperlink->GetHyperlink());