diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 11:33:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 13:27:45 +0200 |
commit | 41dc56df37596ff20c0476ae44fbd07b8b4678a1 (patch) | |
tree | 944bcf4a9f458e4ad1025651b7ac632e2d47c0dd /codemaker | |
parent | 50985d9b60cc03954bbae3dc931abb6aa18c4c78 (diff) |
loplugin:constparams codemaker,idl,idlc
Change-Id: Ic72b7525cfbfbd3c5afb12fe9ea814176e6c8c9d
Reviewed-on: https://gerrit.libreoffice.org/40126
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 49ce44be7908..46d5a07e35a6 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -345,7 +345,7 @@ FileStream &operator<<(FileStream& o, char const * s) { osl_writeFile(o.m_file, s, strlen(s), &writtenBytes); return o; } -FileStream &operator<<(FileStream& o, ::rtl::OString* s) { +FileStream &operator<<(FileStream& o, ::rtl::OString const * s) { sal_uInt64 writtenBytes; osl_writeFile(o.m_file, s->getStr(), s->getLength() * sizeof(sal_Char), &writtenBytes); return o; @@ -356,7 +356,7 @@ FileStream &operator<<(FileStream& o, const ::rtl::OString& s) { return o; } -FileStream &operator<<(FileStream& o, ::rtl::OStringBuffer* s) { +FileStream &operator<<(FileStream& o, ::rtl::OStringBuffer const * s) { sal_uInt64 writtenBytes; osl_writeFile(o.m_file, s->getStr(), s->getLength() * sizeof(sal_Char), &writtenBytes); return o; |