summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 10:03:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 10:58:32 +0200
commitb064a22f716d81cf293c8428cf1c7862811041ed (patch)
tree356ae445e1d207d102362c8ecaaaf7acecb246b8 /xmlsecurity/inc
parent00c9cb7318bbbe593517647c8bfa3e7327191f83 (diff)
loplugin:constparams in xmlsecurity
Change-Id: I41f153af55262d201c0fb024460de0e9f1c14670 Reviewed-on: https://gerrit.libreoffice.org/40472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r--xmlsecurity/inc/framework/saxeventkeeperimpl.hxx4
-rw-r--r--xmlsecurity/inc/xmlsec/xmlstreamio.hxx2
-rw-r--r--xmlsecurity/inc/xsecctl.hxx24
3 files changed, 15 insertions, 15 deletions
diff --git a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
index 160102b2cbb0..b232629b35b1 100644
--- a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
+++ b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
@@ -187,10 +187,10 @@ private:
void removeElementMarkBuffer(sal_Int32 nId);
OUString printBufferNode(
- BufferNode* pBufferNode, sal_Int32 nIndent) const;
+ BufferNode const * pBufferNode, sal_Int32 nIndent) const;
static css::uno::Sequence< css::uno::Reference< css::xml::wrapper::XXMLElementWrapper > >
- collectChildWorkingElement(BufferNode* pBufferNode);
+ collectChildWorkingElement(BufferNode const * pBufferNode);
void smashBufferNode(
BufferNode* pBufferNode, bool bClearRoot) const;
diff --git a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx
index 9483fdb25475..6847ebecf6de 100644
--- a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx
+++ b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx
@@ -28,7 +28,7 @@
XSECXMLSEC_DLLPUBLIC int xmlEnableStreamInputCallbacks() ;
XSECXMLSEC_DLLPUBLIC void xmlDisableStreamInputCallbacks() ;
XSECXMLSEC_DLLPUBLIC int xmlRegisterStreamInputCallbacks(
- css::uno::Reference< css::xml::crypto::XUriBinding >& aUriBinding
+ css::uno::Reference< css::xml::crypto::XUriBinding > const & aUriBinding
);
XSECXMLSEC_DLLPUBLIC int xmlUnregisterStreamInputCallbacks() ;
diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx
index 0cab6691bb63..ec2762665eda 100644
--- a/xmlsecurity/inc/xsecctl.hxx
+++ b/xmlsecurity/inc/xsecctl.hxx
@@ -303,16 +303,16 @@ private:
sal_Int32 nDigestID );
void setReferenceCount() const;
- void setX509IssuerName( OUString& ouX509IssuerName );
- void setX509SerialNumber( OUString& ouX509SerialNumber );
- void setX509Certificate( OUString& ouX509Certificate );
- void setSignatureValue( OUString& ouSignatureValue );
- void setDigestValue( sal_Int32 nDigestID, OUString& ouDigestValue );
- void setGpgKeyID( OUString& ouKeyID );
- void setGpgCertificate( OUString& ouGpgCert );
- void setGpgOwner( OUString& ouGpgOwner );
-
- void setDate( OUString& ouDate );
+ void setX509IssuerName( OUString const & ouX509IssuerName );
+ void setX509SerialNumber( OUString const & ouX509SerialNumber );
+ void setX509Certificate( OUString const & ouX509Certificate );
+ void setSignatureValue( OUString const & ouSignatureValue );
+ void setDigestValue( sal_Int32 nDigestID, OUString const & ouDigestValue );
+ void setGpgKeyID( OUString const & ouKeyID );
+ void setGpgCertificate( OUString const & ouGpgCert );
+ void setGpgOwner( OUString const & ouGpgOwner );
+
+ void setDate( OUString const & ouDate );
void setDescription(const OUString& rDescription);
void setCertDigest(const OUString& rCertDigest);
@@ -320,8 +320,8 @@ public:
void setSignatureBytes(const css::uno::Sequence<sal_Int8>& rBytes);
private:
- void setId( OUString& ouId );
- void setPropertyId( OUString& ouPropertyId );
+ void setId( OUString const & ouId );
+ void setPropertyId( OUString const & ouPropertyId );
css::uno::Reference< css::xml::crypto::sax::XReferenceResolvedListener > prepareSignatureToRead(
sal_Int32 nSecurityId );