summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/newhelp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-08 16:33:17 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 08:21:18 +0200
commit4cbcec9ed4c51277b00c155a5fa097880c0dee4b (patch)
tree7ae7630e51f37d0d60bae4640b4dcd047eaaee29 /sfx2/source/appl/newhelp.cxx
parentf3a43c723eaf751d5ee28b13c0cc6f8014094bbe (diff)
clang-tidy performance-unnecessary-value-param in sfx2
Change-Id: I035eec1f3701c48b9a85c60400c68f9365299b48
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r--sfx2/source/appl/newhelp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 1fee0de03bf3..40b1bf07d24b 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -200,7 +200,7 @@ namespace sfx2
"text menu" | "text* menu*" | "text|menu"
*/
OUString PrepareSearchString( const OUString& rSearchString,
- Reference< XBreakIterator > xBreak, bool bForSearch )
+ const Reference< XBreakIterator >& xBreak, bool bForSearch )
{
OUString sSearchStr;
sal_Int32 nStartPos = 0;
@@ -3017,7 +3017,7 @@ bool SfxHelpWindow_Impl::PreNotify( NotifyEvent& rNEvt )
return bHandled || Window::PreNotify( rNEvt );
}
-void SfxHelpWindow_Impl::setContainerWindow( Reference < css::awt::XWindow > xWin )
+void SfxHelpWindow_Impl::setContainerWindow( const Reference < css::awt::XWindow >& xWin )
{
xWindow = xWin;
MakeLayout();