summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/txtfrm.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:14:55 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:51 +0200
commit769a6c20c4eb9e081cdc46dd638f67927fc7bc25 (patch)
treeef7c0e04c12897d8b73a2b2e3de3df477f83f37c /sw/source/core/inc/txtfrm.hxx
parent006df8a7f77d79d5ab2d8da053552a0ccc3dcd7a (diff)
sw: prefer passing OUString by reference
Change-Id: Iaa846ec8f19567f0a9f30154d74cc53df93eff16
Diffstat (limited to 'sw/source/core/inc/txtfrm.hxx')
-rw-r--r--sw/source/core/inc/txtfrm.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index b23ba02b91f1..e5a856efb5cd 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -202,7 +202,7 @@ class SwTxtFrm: public SwCntntFrm
void _CalcHeightOfLastLine( const bool _bUseFont = false );
// ST2
- SwWrongList* _SmartTagScan ( OUString aTxtToScan, SwWrongList *pSmartTagList,
+ SwWrongList* _SmartTagScan ( const OUString& aTxtToScan, SwWrongList *pSmartTagList,
sal_Int32 nBegin,sal_Int32 nEnd,
sal_Int32 nInsertPos, sal_Int32 nActPos,
sal_Int32 &nChgStart, sal_Int32 &nChgEnd,