summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
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/uno/unotext.cxx
parentcb53d9c4a2b0e57871567c3c819bb349d12542a6 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I5bb3c63790cb153c0d6f57a681ec6dda71d482be
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r--editeng/source/uno/unotext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 91a8ad10d2dc..02d73e803acf 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1664,7 +1664,7 @@ SvxUnoTextBase::SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw()
{
}
-SvxUnoTextBase::SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > xParent ) throw()
+SvxUnoTextBase::SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > const & xParent ) throw()
: SvxUnoTextRangeBase( pSource, _pSet )
{
xParentText = xParent;
@@ -2291,7 +2291,7 @@ SvxUnoText::SvxUnoText( const SvxItemPropertySet* _pSet ) throw()
{
}
-SvxUnoText::SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > xParent ) throw()
+SvxUnoText::SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > const & xParent ) throw()
: SvxUnoTextBase( pSource, _pSet, xParent )
{
}