summaryrefslogtreecommitdiff
path: root/include/editeng/unotext.hxx
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 /include/editeng/unotext.hxx
parentcb53d9c4a2b0e57871567c3c819bb349d12542a6 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I5bb3c63790cb153c0d6f57a681ec6dda71d482be
Diffstat (limited to 'include/editeng/unotext.hxx')
-rw-r--r--include/editeng/unotext.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index b3336d06bb9c..6a30b08a9a9b 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -393,7 +393,7 @@ protected:
css::uno::Reference< css::text::XText > xParentText;
SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw();
- SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > xParent ) throw();
+ SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) throw();
SvxUnoTextBase( const SvxUnoTextBase& rText ) throw();
virtual ~SvxUnoTextBase() throw();
@@ -462,7 +462,7 @@ class EDITENG_DLLPUBLIC SvxUnoText : public SvxUnoTextBase,
{
public:
SvxUnoText( const SvxItemPropertySet* _pSet ) throw();
- SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > xParent ) throw();
+ SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) throw();
SvxUnoText( const SvxUnoText& rText ) throw();
virtual ~SvxUnoText() throw();