loplugin:constparams in ucb..xmlhelp
Change-Id: I3c1e0bfbba1a1849075500882133aac3899de5c8
Reviewed-on: https://gerrit.libreoffice.org/66834
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/ucb/source/ucp/file/filrow.cxx b/ucb/source/ucp/file/filrow.cxx
index d8cf74a..a615682 100644
--- a/ucb/source/ucp/file/filrow.cxx
+++ b/ucb/source/ucp/file/filrow.cxx
@@ -39,7 +39,7 @@ using namespace css::uno;
// Function for TypeConverting
template< class _type_ >
static bool convert( TaskManager* pShell,
static bool convert( TaskManager const * pShell,
uno::Reference< script::XTypeConverter >& xConverter,
uno::Any& rValue,
_type_& aReturn )
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index d151a36..6103f87 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -725,8 +725,8 @@ UUIInteractionHelper::handlePasswordRequest(
}
void
UUIInteractionHelper::handleAuthFallbackRequest( OUString & instructions,
OUString & url,
UUIInteractionHelper::handleAuthFallbackRequest( const OUString & instructions,
const OUString & url,
uno::Sequence< uno::Reference< task::XInteractionContinuation > > const & rContinuations )
{
uno::Reference<awt::XWindow> xParent = getParentXWindow();
diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx
index 9614e4a..4feb98d 100644
--- a/uui/source/iahndl.hxx
+++ b/uui/source/iahndl.hxx
@@ -237,8 +237,8 @@ private:
void
handleAuthFallbackRequest(
OUString & instructions,
OUString & url,
const OUString & instructions,
const OUString & url,
css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > const & rContinuations );
};
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index fe3378e..ea4b40e 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -682,7 +682,7 @@ void SectionPropertyMap::DontBalanceTextColumns()
}
}
void SectionPropertyMap::ApplySectionProperties( uno::Reference< beans::XPropertySet >& xSection, DomainMapper_Impl& rDM_Impl )
void SectionPropertyMap::ApplySectionProperties( const uno::Reference< beans::XPropertySet >& xSection, DomainMapper_Impl& rDM_Impl )
{
try
{
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index c6bd210..69f5a90 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -263,7 +263,7 @@ private:
void DontBalanceTextColumns();
/// Apply section-specific properties: only valid to use after PageStyle has been determined by InheritOrFinalizePageStyles
void ApplySectionProperties( css::uno::Reference< css::beans::XPropertySet >& xSection, DomainMapper_Impl& rDM_Impl );
void ApplySectionProperties( const css::uno::Reference< css::beans::XPropertySet >& xSection, DomainMapper_Impl& rDM_Impl );
/// Check if document is protected. If so, ensure a section exists, and apply its protected value.
void ApplyProtectionProperties( css::uno::Reference< css::beans::XPropertySet >& xSection, DomainMapper_Impl& rDM_Impl );
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 1cc8230..41b638b 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -191,7 +191,7 @@ OString DTTM22OString(long nDTTM)
return DateTimeToOString(msfilter::util::DTTM2DateTime(nDTTM));
}
static RTFSprms lcl_getBookmarkProperties(int nPos, OUString& rString)
static RTFSprms lcl_getBookmarkProperties(int nPos, const OUString& rString)
{
RTFSprms aAttributes;
auto pPos = new RTFValue(nPos);
@@ -458,7 +458,7 @@ static void lcl_copyFlatten(RTFReferenceProperties& rProps, RTFSprms& rStyleAttr
}
writerfilter::Reference<Properties>::Pointer_t
RTFDocumentImpl::getProperties(RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType)
RTFDocumentImpl::getProperties(const RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType)
{
RTFSprms aSprms(rSprms);
RTFValue::Pointer_t pAbstractList;
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index 11c8dc85..f34e2ae 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -518,7 +518,7 @@ private:
void parBreak();
void tableBreak();
writerfilter::Reference<Properties>::Pointer_t
getProperties(RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType);
getProperties(const RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType);
void checkNeedPap();
void sectBreak(bool bFinal = false);
void prepareProperties(RTFParserState& rState,
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index 93007b7..90ed9a0 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -71,7 +71,7 @@ struct HitItem
ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentContext >& rxContext,
const uno::Reference< XContentProvider >& xProvider,
const uno::Sequence< beans::Property >& seq,
URLParameter& aURLParameter,
const URLParameter& aURLParameter,
Databases* pDatabases )
: ResultSetBase( rxContext,xProvider,seq ),
m_aURLParameter( aURLParameter )
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.hxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.hxx
index 249ece25..98480b0 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.hxx
@@ -39,7 +39,7 @@ namespace chelp {
ResultSetForQuery( 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,
const URLParameter& aURLParameter,
Databases* pDatabases );