summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/linenum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/linenum.cxx b/sw/source/ui/misc/linenum.cxx
index c71ae9ece1d1..b28b2a754bfb 100644
--- a/sw/source/ui/misc/linenum.cxx
+++ b/sw/source/ui/misc/linenum.cxx
@@ -46,7 +46,7 @@ static rtl::Reference<SwDocStyleSheet> lcl_getDocStyleSheet(const OUString& rNam
return new SwDocStyleSheet(*(SwDocStyleSheet*)pStyle);
}
-static void lcl_setLineNumbering(OUString rName, SwWrtShell* pSh, bool bLineNumber)
+static void lcl_setLineNumbering(const OUString& rName, SwWrtShell* pSh, bool bLineNumber)
{
rtl::Reference<SwDocStyleSheet> xStyleSheet = lcl_getDocStyleSheet(rName, pSh);
if(!xStyleSheet.is())