summaryrefslogtreecommitdiff
path: root/editeng/source/outliner
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:56:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commite4651e2003c0d079b915ccef335374c1bf015a5a (patch)
tree7eb7e5988f3179f2591eca116bb78ce8032cebf5 /editeng/source/outliner
parentcb53d9c4a2b0e57871567c3c819bb349d12542a6 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I5bb3c63790cb153c0d6f57a681ec6dda71d482be
Diffstat (limited to 'editeng/source/outliner')
-rw-r--r--editeng/source/outliner/overflowingtxt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx
index 1b98adea6e99..c053605a6484 100644
--- a/editeng/source/outliner/overflowingtxt.cxx
+++ b/editeng/source/outliner/overflowingtxt.cxx
@@ -33,7 +33,7 @@
OutlinerParaObject *TextChainingUtils::JuxtaposeParaObject(
- css::uno::Reference< css::datatransfer::XTransferable > xOverflowingContent,
+ css::uno::Reference< css::datatransfer::XTransferable > const & xOverflowingContent,
Outliner *pOutl,
OutlinerParaObject *pNextPObj)
{
@@ -68,7 +68,7 @@ OutlinerParaObject *TextChainingUtils::JuxtaposeParaObject(
}
OutlinerParaObject *TextChainingUtils::DeeplyMergeParaObject(
- css::uno::Reference< css::datatransfer::XTransferable > xOverflowingContent,
+ css::uno::Reference< css::datatransfer::XTransferable > const & xOverflowingContent,
Outliner *pOutl,
OutlinerParaObject *pNextPObj)
{
@@ -105,7 +105,7 @@ css::uno::Reference< css::datatransfer::XTransferable > TextChainingUtils::Creat
// class OverflowingText
-OverflowingText::OverflowingText(css::uno::Reference< css::datatransfer::XTransferable > xOverflowingContent) :
+OverflowingText::OverflowingText(css::uno::Reference< css::datatransfer::XTransferable > const & xOverflowingContent) :
mxOverflowingContent(xOverflowingContent)
{