diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-01 16:38:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-03 10:30:00 +0100 |
commit | 0dca40256320753fdbd42ac9c7de889026d7d469 (patch) | |
tree | 647d059917e22a0b910f7d6d803bd50ad953edcd /sax | |
parent | b477f791e3e332b41c80782844c4c379212f0fd8 (diff) |
loplugin:constparam in vcl,svtools
Change-Id: I7a3eb2bfda869e9e66db919f929ead60cf8890a4
Reviewed-on: https://gerrit.libreoffice.org/44209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 507d40208928..1f278b244616 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -189,7 +189,7 @@ struct Entity : public ParserData explicit Entity( const ParserData& rData ); Entity( const Entity& rEntity ); - void startElement( Event *pEvent ); + void startElement( Event const *pEvent ); void characters( const OUString& sChars ); void endElement(); void processingInstruction( const OUString& rTarget, const OUString& rData ); @@ -397,7 +397,7 @@ Entity::Entity(const Entity& e) { } -void Entity::startElement( Event *pEvent ) +void Entity::startElement( Event const *pEvent ) { const sal_Int32& nElementToken = pEvent->mnElementToken; const OUString& aNamespace = pEvent->msNamespace; |