Kaydet (Commit) 6239993d authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constparams in ucb..xmlhelp

Change-Id: I3c1e0bfbba1a1849075500882133aac3899de5c8
Reviewed-on: https://gerrit.libreoffice.org/66834
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst e14fafaa
......@@ -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 )
......
......@@ -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();
......
......@@ -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 );
};
......
......@@ -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
{
......
......@@ -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 );
......
......@@ -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;
......
......@@ -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,
......
......@@ -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 )
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment