summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 09:57:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 11:13:05 +0200
commitc932e26138d9dda1d3dad5e2472a79d42c0a816c (patch)
tree28652c256477174a536094bf398e65dc1d0ad045 /xmlhelp
parente530689ef6ba79a26162670580ba28f9b09eb689 (diff)
loplugin:constparams in toolkit,ucb,xmlhelp
Change-Id: I2287bf468aae5008e25aa8b1bc0b63cff7bb1bf1 Reviewed-on: https://gerrit.libreoffice.org/40117 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.cxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index de0ad9433501..0deeea6217d7 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -605,7 +605,7 @@ KeywordInfo::KeywordElement::KeywordElement( Databases *pDatabases,
init( pDatabases,pHdf,data );
}
-void KeywordInfo::KeywordElement::init( Databases *pDatabases,helpdatafileproxy::Hdf* pHdf,const OUString& ids )
+void KeywordInfo::KeywordElement::init( Databases const *pDatabases,helpdatafileproxy::Hdf* pHdf,const OUString& ids )
{
const sal_Unicode* idstr = ids.getStr();
std::vector< OUString > id,anchor;
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index 9a6fd0296b49..05b82b99729e 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -104,7 +104,7 @@ namespace chelp {
css::uno::Sequence< OUString > listAnchor;
css::uno::Sequence< OUString > listTitle;
- void init( Databases *pDatabases,helpdatafileproxy::Hdf* pHdf,const OUString& ids );
+ void init( Databases const *pDatabases,helpdatafileproxy::Hdf* pHdf,const OUString& ids );
};
explicit KeywordInfo( const std::vector< KeywordElement >& aVector );