summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-17 20:00:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-20 16:28:25 +0100
commitbeea592413f5e5661c3fa7ef2c38b0a20b2627a4 (patch)
tree2402e195838fb355d354e7b9711b75b5e0887c9f /xmlhelp
parent6af2468cf0a6c231747c24fd057a8cb90cbbe11d (diff)
coverity: passing by const reference is more efficient
Change-Id: Icee079458f0b4624281a2fdef1ce8cd6d6b900b1
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/content.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx
index 2f83fb82608a..cab021519304 100644
--- a/xmlhelp/source/cxxhelp/provider/content.cxx
+++ b/xmlhelp/source/cxxhelp/provider/content.cxx
@@ -218,14 +218,14 @@ public:
sal_Int32 nOpenMode,
const uno::Sequence< beans::Property >& seq,
const uno::Sequence< ucb::NumberedSortingInfo >& seqSort,
- URLParameter aURLParameter,
+ const URLParameter& rURLParameter,
Databases* pDatabases )
: m_xContext( xContext ),
m_xProvider( xProvider ),
m_nOpenMode( nOpenMode ),
m_seq( seq ),
m_seqSort( seqSort ),
- m_aURLParameter( aURLParameter ),
+ m_aURLParameter( rURLParameter ),
m_pDatabases( pDatabases )
{
}
@@ -266,14 +266,14 @@ public:
sal_Int32 nOpenMode,
const uno::Sequence< beans::Property >& seq,
const uno::Sequence< ucb::NumberedSortingInfo >& seqSort,
- URLParameter aURLParameter,
+ const URLParameter& rURLParameter,
Databases* pDatabases )
: m_xContext( rxContext ),
m_xProvider( xProvider ),
m_nOpenMode( nOpenMode ),
m_seq( seq ),
m_seqSort( seqSort ),
- m_aURLParameter( aURLParameter ),
+ m_aURLParameter( rURLParameter ),
m_pDatabases( pDatabases )
{
}