From c932e26138d9dda1d3dad5e2472a79d42c0a816c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jul 2017 09:57:00 +0200 Subject: loplugin:constparams in toolkit,ucb,xmlhelp Change-Id: I2287bf468aae5008e25aa8b1bc0b63cff7bb1bf1 Reviewed-on: https://gerrit.libreoffice.org/40117 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlhelp/source/cxxhelp/provider/databases.cxx | 2 +- xmlhelp/source/cxxhelp/provider/databases.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlhelp') 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 ); -- cgit