summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 10:51:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 12:09:24 +0200
commitb1a1baa66a8eb0553df87769d48e3cc7e533a1d8 (patch)
treefe77a0f819887add2fbe03d4cc7a5b9d88cc104e /xmlhelp
parent4732e65646016087d772adb3a0b55c166b35356d (diff)
loplugin:constparams in formula,xmlhelp
Change-Id: I1c987d991a5b292df327d1bb921099233b5531fe Reviewed-on: https://gerrit.libreoffice.org/40584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx6
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx6
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforroot.hxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 27a61b238da6..5f5300d839b9 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -595,10 +595,10 @@ namespace chelp {
}
-KeywordInfo::KeywordElement::KeywordElement( Databases *pDatabases,
+KeywordInfo::KeywordElement::KeywordElement( Databases const *pDatabases,
helpdatafileproxy::Hdf* pHdf,
- OUString& ky,
- OUString& data )
+ OUString const & ky,
+ OUString const & data )
: key( ky )
{
pDatabases->replaceName( key );
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index 05b82b99729e..b72dfb3dd1ac 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -92,10 +92,10 @@ namespace chelp {
public:
- KeywordElement( Databases* pDatabases,
+ KeywordElement( Databases const * pDatabases,
helpdatafileproxy::Hdf* pHdf,
- OUString& key,
- OUString& ids );
+ OUString const & key,
+ OUString const & ids );
private:
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
index f269653af518..dc7982a87e73 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
@@ -32,7 +32,7 @@ using namespace com::sun::star::ucb;
ResultSetForRoot::ResultSetForRoot( const uno::Reference< uno::XComponentContext >& rxContext,
const uno::Reference< XContentProvider >& xProvider,
const uno::Sequence< beans::Property >& seq,
- URLParameter& aURLParameter,
+ URLParameter const & aURLParameter,
Databases* pDatabases )
: ResultSetBase( rxContext, xProvider,seq ),
m_aURLParameter( aURLParameter ),
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforroot.hxx b/xmlhelp/source/cxxhelp/provider/resultsetforroot.hxx
index 3bb96aaef91a..20c41e738b68 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforroot.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforroot.hxx
@@ -39,7 +39,7 @@ namespace chelp {
ResultSetForRoot( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
const css::uno::Sequence< css::beans::Property >& seq,
- URLParameter& aURLParameter,
+ URLParameter const & aURLParameter,
Databases* pDatabases );